Skip to content

Conversation

@Sakib75
Copy link
Contributor

@Sakib75 Sakib75 commented Jul 24, 2022

PR Type

PR_TYPE

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made.
  • Version number has been updated.
  • Required modules have been added to respective "requirements*.txt" files.
  • Relevant Test Cases added to this description (below).
  • (Team) Label with affected action categories and semver status.

Overview

Test Cases

@Sakib75 Sakib75 requested a review from sazid July 24, 2022 11:55
@Sakib75 Sakib75 changed the title delete outdated_modules.json after upgrade fix auto module upgrade Jul 26, 2022
@sazid sazid merged commit dbbadb4 into dev Jul 29, 2022
@sazid sazid deleted the fix_pip_upgrade branch July 29, 2022 08:35
sazid added a commit that referenced this pull request Oct 25, 2022
* fetch only the test case json

* Change endpoint to use versioning

* Add deploy-v3 node side diagram

* Update DeployInfo protobuf

* Register node as online every time node reconnects

* add local device exception

* handle reconnection + take local run from remote config

* Update deploy info proto def

* adapt debug mode from debug info

* refactor the payload data

* Convert action seq check to int from str

* Don't dump report.json file to Framework folder

* Connect to live log service when node goes online

* deploy: tc receive confirmation

* deploy: send ack before running tc

* blindly pick first local device for now

* Disable SSL cert verification for deploy

* Reset settings file

* Add version + changelog

* remove unnecessary file

* [Add] initial codes for function eval in csv cells

* Adding functionality for profile

* Updating open_browser for profile integration

* Add chrome_profile in Go_To_link

* Update CHANGELOG.md

* [remove] removed prints

* Update with execlog and Darwin

* Convert all timestamps timezone to UTC

* Add changelog entry

* convert browser opts to string before sending to logger

* Fixed the Execlog with colored print

* Remove duplicate code_generator file

* [Fix] Fixed screenshot common action

* [Fix] Windows pid issue on image-parent search solved

* Allow raw data to be printed from exec log

* Do not print connection attempts unless (see more)

- Node launched fresh
- Node disconnected because of network issue
- Reconnect attempt failed more than 3 times

* Update constructor param type

* Set the encoding for all json files to utf-8

* Allow multiple certificate usage

* Add changelog

* Remove redundant code

* Optimize file download by 1mb chunk

* gh token

* bug fixed as per arif vai suggestion

* bug fixed

* finalized message for fh token

* Remove node_state.json

* Modify protobuf

* Load attachments in new format

* Add code for attachment db and hash

* Working attachment hash in node with db

* skip 0 hash

* Upload file to global attachment by replacing

* Delete settings.conf

* Add files via upload

* Update common_functions.py

* auto module update

* removed extra print

* Update settings.conf

* Update settings.conf

* Update settings.conf

* Update settings.conf

* Add changelog

* Add gh_token debug config for vscode

* Update common_functions.py

* use concrete boolean

* removed extra brackets

* Changed the json location to Automationlog folder

* Move to attachment db with unique file names

* Redownload attachment on copy-failure + more reliable db entries

* Temporarily disable attachment hashing

* [Add] auth code generator action. windows only for now

* [Add] changelogs

* Use filename from server's attachment path

* Launch into integrated debug console

* Use the hash as the file name for storing in attachment db

* Make sure attachments with same content works + refactor

+ Never copy the same file more than once for the same hash

* Auto modules update (#202)

* [Add] all 3 trusted host are added

* [Add] = sign added

* Dont print os.environ values

* remove unused custom driver attachment code (needs review)

* Don't print raw by default

* .

* Set browser console log encoding to utf-8 for international characters

* add utf-8 encoding for windows logger

* SID and service name is needed for database type oracle only

* Converting db type to lowercase for handling case sensitivity

* browser options print fix

* CHANGELOG.md changed.

* Adding get current url of browser action

* Adding get oAuth2.0 access token url  action

* Adding rauth for oAuth2.0 operation

* added remotewebdriver for chrome

* docker compose file for running selenium grid

* [Change] Disabling attachment hashing temporarily

* run_time_params

* remotewebdriver support for firefox and edge

* added chrome version 102,103

* browser version options

* checking remote server availability

* Minor fixes (#207)

* Dont print os.environ values

* [Add] all 3 trusted host are added

* Adding get current url of browser action

* Adding get oAuth2.0 access token url  action

* experiment

* Adding rauth for oAuth2.0 operation

* [Fix] Compare bug fix

* [Fix] Compare bug fix

* [Fix] zeuz_auto_teardown bug fix

* [Fix] mobile browser driver update bug fix

* [Fix] undeclared result variable in go_to_link

* [Fix] zeuz_pid_finder should be all lower

* [Add] Changelogs

Co-authored-by: Arifshariar7 <arifshariar7@gmail.com>

* comment added

* datetime format for windows

* removed extra if

* Performance testing (#188)

* added builtinfunctions for performance testing

* added perfomance module in sequential action

* added actions for locust

* removed type on builtinfunc

* reverted back the unintentional changes

* left right

* standalone script for converting server json to locust json

* logic changed for searching locust config in aciton

* updated the filepath of sample json

* formatted output json

* read data from testcase json

* function name updated, output path added

* changed locust user 'user name' to 'name'

* Refactor and update assign_locust_user

* updated dataset reading logic

* docs updated

* username/classname to case-sensitive, user type to HttpUser and User

* Move and update packages for perf

* added optional parameter sequential and weight

* username to user name and removed sequential from user

* removed sequential from user

* updated user with new format

* added taskset action

* reverted setting.conf

* Add dir for storing generated locust files

* Add the initial code for  run_performance_test action

* fixed the mentioned issues

* Add functionality for generating locust python file

* Bugfix

* Remove duplicate line

* Update generate_performance_testing action

* Add and update run_performance_test

* Executed the run_performance_test with subprocess

* Update run, generate locust and add settings for keeping the track of paths

* resolved subprocess issue and run_perf update

* Save report to AutomationLog dir

* Update settings.py for report dirs

* Update path for html report

* update and remove print_exc

* Revert settings.conf

* Add csv file generator and update the file name with run_id

* refactor and remove redundant codes

* Add documentation

* Delete unused code from tests dir in Performance_Testing

* Modify CHANGELOG and version, delete generated codes

Co-authored-by: oytizzo <oytizzo@gmail.com>

* added changelog for selenium_grid

* updated string replacing

* documentation added for oauth action

* documentation added for new selenium action that saves the current url from browser's address bar

* changelog updated

* Download tc and step attachments into distinct folders + re-enable attachment db

* Frame parameter support is online and working as intended, I have checked some test scnarios on TEST-3339 in qa server

* Reverted refactored selenium code

* Changelogs fix

* [Remove] Restriction removed of the offset to be between 0-100. sometimes negative range is needed

* [Add] Added wait global support in go_to_link action

* [Remove] Restriction removed of the offset to be between 0-100. sometimes negative range is needed

* [Add] Added wait global support in go_to_link action

* [Change] Screenshot file name should contain the action title

* fix remote host

* [Add] Windows desired Element tree is printed

* [Add] experimental raw codes for perf metrix

* Global attachments (#212)

* added global_attachments variable

* global attachment auto download

* download global attachment class

* global attachment class

* removed global attachment from variable parsing

* added comment for global attachments

* removed extra spaces

* pathlib and custom log_dir

* fix auto module upgrade (#215)

* delete outdated_modules.json after upgrade

* handle extra string

* module version specify

* [Add] Collect performance metrics for every driver_id in a testcase and save it to report

* [Fix] Get_Current_URL action fix

* [Fix] enable performance only when browser starts

* [Fix] Browser options added inside exception block

* UUID (#218)

* [Add] Add uuid module in variable parsing

* [Add] Changelog

* [Fix] spelling correction global_attachments

* [Add] access zeuz shared variables directly from execute_python_code

* [Add] new zeuz variable `zeuz_attachments_dir`

* [Add] import other python modules into execute_code

* removed commit from select query

* truncate extra strings from server address

* db multi sessions

* changelog added

* removed uses of global var

* [Add] browser_performance metrics

* [Add] Step metrics, Action Metrics

* changelogs

* Pin websocket client library to 1.3.3

(1.4.0 contains breaking changes)

* [Fix] init browser_perf = {}

* [Add] Added `first-contentful-paint` value into browser_performance metrics by javascript

* secondary random email factory

* added exception

* bs4 to read text from html email

* delete mailbox

* reverted order of factories

* added changelog

* [Fix] try-except added for first-contentful-paint metric

* Advanced activity extract handling and deprecation fix

* [Fix] Deprecation fix of selenium

* [Add] 'safebrowsing.enabled': 'false'

* initial_download_folder is connected to dynamic debug runid

* [Add] data-store actions

* [Fix] api-key fix in data-store

* [Add] We handle click errors by default

* [Add] limit prettifying characters with `zeuz_prettify_limit`

* stale element requires relocating of element

* [Add] Filepath handle in save_into_variable

* [Add] prettify_limit = None

* [Add] json.dumps(val,indent=2) in prettify_limit

* Added line for zeuz failed -
- replaced Element == "zeuz_failed" this line with the follwoing line -> type(Element) == str and Element == "zeuz_failed"
Applied on all 12 places of windows action where it appeared.
- Fixed Conditional action based on element finding .

* Added ->  if not(type(Element) == str and Element == "zeuz_failed"): for scroll to element

* Add Largest Contentful Paint (LCP) metric for chromium browsers

* [Temporary] Manual input when save attribute selenium fails

* Added line for image search

* if attribute_value = zeuz_failed: return

* ws_ss_log var to turn off log_ss in debug

* Fixed drag and drop zeuz failed issue

* Fixed all value passing True issue for checkboxes and radio button on windows

* Fixed button enabled or disabled state for windows

* - Fix scroll to element for windows

* Fixed action passing even if the element not found with scroll to element action.

* Added

* Added fix for check out
- Fixed zeyz failed error
- Fixed value returning true for uncheck value

* Image comparison , create and edit screenshot actions are added. TaxCalc's QA's are asking for it.
It is subject to change.

* [Add] `continue to next iteration` added in for loop action

* [Revert] taking input if save attribute fails

* [Fix] If click fails dont download

* [Fix] Remove execute_cdp_cmd for non-chromium browsers

* [Fix] Deprecation fix

* date modify fix (#233)

* Read step continue point from local step data

* [Fix] Zoom annotation fix for inspecting windows element

* [Fix] cmd fix for binary windows app launch

* version = 16.1.0 date = Oct 25, 2022

* changelog

Co-authored-by: Mohammed Sazid Al Rashid <sazidozon@gmail.com>
Co-authored-by: oytizzo <oytizzo@gmail.com>
Co-authored-by: Saqib-Haider <saqibhaider567@gmail.com>
Co-authored-by: Saqib Haider <73651567+Saqib-Haider@users.noreply.github.com>
Co-authored-by: Muntasir00 <muntasir690000@gmail.com>
Co-authored-by: Sunny <sunny1509006@gmail.com>
Co-authored-by: Sakib <sakibkuet16@gmail.com>
Co-authored-by: Raisa2773 <shin2016018@gmail.com>
Co-authored-by: Arifshariar7 <arifshariar7@gmail.com>
Co-authored-by: Sakib75 <skb09skb@gmail.com>
Co-authored-by: Sakib75 <30881393+Sakib75@users.noreply.github.com>
Co-authored-by: Sourav Raihan <mrh.sourav54@gmail.com>
Co-authored-by: Mohammed Sazid-Al-Rashid <sazidz@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants