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

Litetests #17

Merged
merged 36 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7527381
refactor test yml
shashwatahalder01 Feb 21, 2024
73bc60d
update pro plugins in wp-env override
shashwatahalder01 Feb 21, 2024
25e444b
refactor setup both test suite
shashwatahalder01 Feb 21, 2024
85993b1
added menu manager tests
shashwatahalder01 Feb 22, 2024
6e404fa
update reporter condition
shashwatahalder01 Feb 22, 2024
0efa060
added menu-manager test
shashwatahalder01 Feb 23, 2024
04caf67
fixed a env var issue
shashwatahalder01 Feb 23, 2024
f788c29
fixed menu-manager tests
shashwatahalder01 Feb 23, 2024
c4de91e
update productQA tests
shashwatahalder01 Feb 28, 2024
91b92a8
Merge branch 'develop' into litetests
shashwatahalder01 Feb 28, 2024
607816f
update: update a locator
shashwatahalder01 Mar 7, 2024
bb611be
Merge branch 'develop' into litetests
shashwatahalder01 Mar 7, 2024
cdd8765
update: update some locators
shashwatahalder01 Mar 7, 2024
ffbc5f2
add: added new test
shashwatahalder01 Mar 7, 2024
ead1ab0
skip a setup test
shashwatahalder01 Mar 7, 2024
183877f
fix: fix license issue
shashwatahalder01 Mar 8, 2024
9a814b9
update: update some pro tests
shashwatahalder01 Mar 12, 2024
54f7793
Merge branch 'develop' into litetests
shashwatahalder01 Mar 14, 2024
b203aa0
update: update yml
shashwatahalder01 Mar 14, 2024
a9bdb6c
Merge branch 'develop' into litetests
shashwatahalder01 Mar 21, 2024
667fded
update packages
shashwatahalder01 Mar 22, 2024
1a4b99a
log git action seto outcome
shashwatahalder01 Mar 22, 2024
06228d0
update condition
shashwatahalder01 Mar 22, 2024
1c83db7
update condition
shashwatahalder01 Mar 22, 2024
29d7b82
update yml
shashwatahalder01 Apr 1, 2024
61bafa8
update yml
shashwatahalder01 Apr 1, 2024
5e0283f
Merge branch 'develop' into litetests
shashwatahalder01 Apr 1, 2024
db08450
update yml
shashwatahalder01 Apr 1, 2024
4e6b941
update packages
shashwatahalder01 Apr 1, 2024
03a049c
fix: db port grab issue
shashwatahalder01 Apr 1, 2024
5457b09
update yml
shashwatahalder01 Apr 1, 2024
07f3da5
update: api env setup
shashwatahalder01 Apr 1, 2024
3143539
fix: storage state issue
shashwatahalder01 Apr 1, 2024
2f4e5c5
fix: api env issue
shashwatahalder01 Apr 1, 2024
1988ca2
fix: env issue
shashwatahalder01 Apr 1, 2024
df78ac1
update: update locators
shashwatahalder01 Apr 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/e2e_api_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
if: success()
run: |
cd tests/pw
echo "DB_PORT=$(docker ps -f ancestor='mariadb' -f name='tests-mysql' --format='{{.Ports}}' | sed -E 's/.*:(.*)->.*/\1/')" >> $GITHUB_ENV
echo "DB_PORT=$(docker ps -f ancestor='mariadb:lts' -f name='tests-mysql' --format='{{.Ports}}' | sed -E 's/.*:(.*)->.*/\1/')" >> $GITHUB_ENV

# db port
- name: DB PORT
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
# Run e2e tests
- name: 🧪 Running the e2e tests
id: e2e-test
if: success() || ( success() && (github.event_name == 'workflow_dispatch' && (github.event.inputs.testsuite == 'E2E' || github.event.inputs.testsuite == 'All')))
if: success() && (github.event_name != 'workflow_dispatch' || ( github.event_name == 'workflow_dispatch' && (github.event.inputs.testsuite == 'E2E' || github.event.inputs.testsuite == 'All')))
timeout-minutes: 40
run: |
cd tests/pw
Expand All @@ -185,7 +185,7 @@ jobs:
# Run API tests
- name: 🧪 Running the api tests
id: api-test
if: always() && steps.db-port.outcome == 'success' || ( always() && steps.db-port.outcome == 'success' && (github.event_name == 'workflow_dispatch' && (github.event.inputs.testsuite == 'API' || github.event.inputs.testsuite == 'All')))
if: steps.db-port.outcome == 'success' && ( github.event_name != 'workflow_dispatch' || ( github.event_name == 'workflow_dispatch' && (github.event.inputs.testsuite == 'API' || github.event.inputs.testsuite == 'All')))
timeout-minutes: 5
run: |
cd tests/pw
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:

# Backup Database
- name: Backup Database
if: steps.wp-env.outcome == 'success'
if: steps.db-port.outcome == 'success'
run: |
cd tests/pw
npm run wp-env run tests-cli wp db export wp-data/db.sql
Expand Down
Loading
Loading