Skip to content

Commit

Permalink
removed screenshot tests from running in CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaisalkhatri committed Sep 1, 2024
1 parent 2cdb3e3 commit 9e4566d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ jobs:
- name: Install Firefox
uses: browser-actions/setup-firefox@latest

- name: Create screenshots dir
working-directory: ${{ github.workspace }}
run: mkdir screenshots

- name: Build the Project
run: mvn clean install -DskipTests

Expand Down Expand Up @@ -98,10 +94,6 @@ jobs:
- name: Install Firefox
uses: browser-actions/setup-firefox@latest

- name: Create screenshots dir
working-directory: ${{ github.workspace }}
run: mkdir screenshots

- name: Cache SonarCloud packages
uses: actions/cache@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ public class FullPageScreenshotTest {

@Test
public void testTakeFullPageScreenshotFirefox() {

driver = new FirefoxDriver();


driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(30));
driver.manage().window().maximize();

Expand Down
1 change: 0 additions & 1 deletion test-suite/testng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<suite-file path="testng-juice-shop.xml"/>
<suite-file path="testng-seleniumgrid-theinternet.xml"/>
<suite-file path="testng-lambdatest-selenium-playground.xml"/>
<suite-file path="testng-screenshot-tests.xml"/>
<!-- <suite-file path="testng-seleniumgrid-juiceshop.xml"/>-->
<!-- <suite-file path="testng-lambdatestecommerce.xml"/>-->
</suite-files>
Expand Down

0 comments on commit 9e4566d

Please sign in to comment.