Skip to content

Commit

Permalink
github actions, playwriht version update
Browse files Browse the repository at this point in the history
  • Loading branch information
MalgorzataDzienia committed May 29, 2024
1 parent 965844b commit 1626495
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/test-execution.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
name: Test execution

on: [push, pull_request, workflow_dispatch]
on:
push:
paths:
- mrchecker-playwright-framework/**

jobs:
test:
timeout-minutes: 60
timeout-minutes: 30
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright/java:v1.43.0-jammy
image: mcr.microsoft.com/playwright/java:v1.44.0-jammy

steps:
- uses: actions/checkout@v4
Expand All @@ -22,19 +25,15 @@ jobs:
- name: Install git
run: apt-get -y update && apt-get install -y git-lfs

- name: Select framework folder
run: cd mrchecker-playwright-framework

- name: Install tests
run: mvn install -DskipTests --no-transfer-progress

- name: Run auth
run: mvn test -Dtest="AuthenticateWithOTP" -Dincludes="**" -Dheadless=true
env:
SECRET_DATA: ${{ secrets.SECRET_DATA }}

- name: Run tests
run: mvn test -Dtest="LoginWithStoredSession*" -Dincludes="**" -Dheadless=true
env:
SECRET_DATA: ${{ secrets.SECRET_DATA }}

run: mvn test -Dheadless=true

- name: Generate Allure report
run: mvn allure:report

Expand Down
2 changes: 1 addition & 1 deletion mrchecker-playwright-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<thread.count>3</thread.count>
<env>ENV1</env>
<!-- PLAYWRIGHT -->
<playwright.verion>1.42.0</playwright.verion>
<playwright.verion>1.44.0</playwright.verion>

<!-- JUNIT -->
<junit.version>5.10.1</junit.version>
Expand Down

0 comments on commit 1626495

Please sign in to comment.