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

E2e test cypress test scripts #145

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
619a0dd
Adding E2E Test scripts
rajimtri Dec 19, 2023
83848eb
Create e2e.yml
rajimtri Dec 19, 2023
0c39cb2
Changed folder structure
rajimtri Dec 21, 2023
5b2cb73
updated test workflow
rajimtri Dec 21, 2023
9d74835
changes in github wf
rajimtri Dec 22, 2023
d819fa3
changes in github wf
rajimtri Dec 22, 2023
4e8ca97
Changes in github wf
rajimtri Dec 22, 2023
69f72bb
changes in wf
rajimtri Dec 22, 2023
de4ab03
changes in wf
rajimtri Dec 22, 2023
58bbc7f
changes in wf
rajimtri Dec 22, 2023
7a0d81a
wf changes
rajimtri Dec 22, 2023
aa5b81a
wf changes
rajimtri Dec 22, 2023
a340383
wf changes
rajimtri Dec 22, 2023
bcaedcb
wf changes browser
rajimtri Dec 22, 2023
bfcfe6e
wf changes
rajimtri Dec 22, 2023
65670d8
wf changes
rajimtri Dec 22, 2023
13ab862
input changes
rajimtri Dec 23, 2023
01bf837
removed record
rajimtri Dec 23, 2023
c23ccd3
trying screenshot for github failure
rajimtri Dec 23, 2023
d5232b4
wf changes dec26
rajimtri Dec 26, 2023
724d954
wf firefox
rajimtri Dec 26, 2023
0709abc
screenshots wf
rajimtri Dec 26, 2023
f1527fc
wf changes
rajimtri Dec 26, 2023
ed98410
wf changes
rajimtri Dec 26, 2023
a58c95d
wf changes
rajimtri Dec 26, 2023
b97d6c9
wf changes
rajimtri Dec 26, 2023
05ff067
wf changes
rajimtri Dec 26, 2023
559fc43
visit google
rajimtri Dec 26, 2023
f022ecf
visit google
rajimtri Dec 26, 2023
d99331f
baseurl
rajimtri Dec 27, 2023
6bdcb95
test
rajimtri Dec 27, 2023
d147969
retry
rajimtri Dec 27, 2023
4ffbf58
electron browser check
rajimtri Dec 27, 2023
7f6730f
firefox test
rajimtri Dec 27, 2023
d48af7e
cy version
rajimtri Dec 27, 2023
30ab17f
cy version
rajimtri Dec 27, 2023
3c8de1d
cy version
rajimtri Dec 27, 2023
8bfb690
debug
rajimtri Dec 27, 2023
482a769
debug browser
rajimtri Dec 27, 2023
89cdc2c
debug
rajimtri Dec 27, 2023
60d59d7
headless chrome
rajimtri Dec 27, 2023
05e7250
cert test
rajimtri Dec 28, 2023
2544fc7
cy version change
rajimtri Jan 9, 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
54 changes: 54 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: End-to-end tests
on:
push:
branches: [ "e2eTest" ]
jobs:
cypress-run:
runs-on: ubuntu-latest
#container:
# image: cypress/browsers:node18.12.0-chrome106-ff106
# options: --user 1001
#defaults:
# run:
# working-directory: tests
defaults:
run:
working-directory: tests

strategy:
matrix:
node-version: [20.x]


steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: tests/package-lock.json
- uses: cypress-io/github-action@v5
env:
DEBUG: cypress:launcher*,cypress:server:browsers*
with:
#build : npm run build
#start : npm start
build: npx cypress info
command: npx cypress run --browser chrome --headless
#browser: chrome
#start: npm start
#record: true
working-directory: tests
- uses: actions/upload-artifact@v3
# add the line below to store screenshots only on failures
if: failure()
with:
name: cypress-screenshots
path: tests/cypress/screenshots
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`
- uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore # 'warn' or 'error' are also available, defaults to `warn`

Loading
Loading