Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom options #1601

Merged
merged 11 commits into from May 23, 2024
Merged

Fix custom options #1601

merged 11 commits into from May 23, 2024

Conversation

MustafaAgamy
Copy link
Contributor

@MustafaAgamy MustafaAgamy commented Apr 22, 2024

- Enable BiDi property default value is set to false as it was creating conflicts with session related properties like incognitoMode or setting profiles

  • incognitoMode property is added for the following browsers:
  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox

Default Value of EnableBiDi in Platform is changed from true to false
Added new incognitoMode property to Web properties with default value of false
Incognito mode flag logic is added for the following browsers:
- Chrome
- Microsoft Edge
- Firefox
IncognitoMode is added to the other Web properties in Test class
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 53.07%. Comparing base (c2fc22b) to head (06be733).

Files Patch % Lines
.../driver/internal/DriverFactory/OptionsManager.java 0.00% 6 Missing and 1 partial ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##               main    #1601       +/-   ##
=============================================
+ Coverage     38.12%   53.07%   +14.94%     
- Complexity      918     1338      +420     
=============================================
  Files           111      111               
  Lines          9966     9975        +9     
  Branches        966      970        +4     
=============================================
+ Hits           3800     5294     +1494     
+ Misses         5575     4069     -1506     
- Partials        591      612       +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MustafaAgamy MustafaAgamy linked an issue Apr 22, 2024 that may be closed by this pull request
- Using the Enums to check for the running driver type
- Removed unused import of SafariOptions in WebTest class
Revert the change made to EnableBiDi in Platform properties
@MustafaAgamy
Copy link
Contributor Author

@MohabMohie FYI

@MohabMohie MohabMohie merged commit cd43416 into main May 23, 2024
37 of 41 checks passed
@MohabMohie MohabMohie deleted the FixCustomOptions branch May 23, 2024 08:34
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.

[Bug]: User Added Options are not working properly
3 participants