Skip to content

Playright support Module#65

Merged
jredingcsv merged 96 commits intomainfrom
playright_support
May 4, 2022
Merged

Playright support Module#65
jredingcsv merged 96 commits intomainfrom
playright_support

Conversation

@jredingcsv
Copy link
Contributor

Create playwright module for testing and support

lots of comments
# Conflicts:
#	maqs-selenium/src/test/java/com/cognizantsoftvision/maqs/selenium/WebDriverFactoryUnitTest.java
# Conflicts:
#	maqs-base/src/main/java/com/cognizantsoftvision/maqs/base/BaseTestObject.java
#	maqs-base/src/main/java/com/cognizantsoftvision/maqs/base/ITestObject.java
# Conflicts:
#	maqs-base/src/main/java/com/cognizantsoftvision/maqs/base/BaseTestObject.java
@jredingcsv jredingcsv requested a review from twalshcsv May 3, 2022 18:35
public Object[] browserType() {
ArrayList<PlaywrightBrowser> data = new ArrayList<>();
data.add(PlaywrightBrowser.CHROMIUM);
data.add(PlaywrightBrowser.EDGE);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work on the Linux test agents


@Test(groups = TestCategories.PLAYWRIGHT)
public void defaultOptionsUseProxy() {
Config.addTestSettingValues(Collections.singletonMap("UseProxy", "Yes"),
Copy link
Contributor

@twalshcsv twalshcsv May 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very very very bad idea.
You override a pretty low level setting and just leave it set - I am guessing this is why so many tests started failing when these changes got pushed

Copy link
Contributor

@twalshcsv twalshcsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like more coverage, but good enough

@sonarqubecloud
Copy link

sonarqubecloud bot commented May 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

80.2% 80.2% Coverage
0.0% 0.0% Duplication

@jredingcsv jredingcsv merged commit 1fa59f7 into main May 4, 2022
@jredingcsv jredingcsv deleted the playright_support branch May 4, 2022 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants