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

Added new workflow for the new web package #515

Closed
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
c7022bc
Added new workflow for the new web package
SergioCasCeb Oct 13, 2023
963db0a
Added test script
SergioCasCeb Oct 13, 2023
0317778
Installing supported browsers
SergioCasCeb Oct 13, 2023
b0aa4e7
Fixed conflict with package.json
SergioCasCeb Nov 15, 2023
4462560
Merge branch 'eclipse-thingweb:master' into playwright-ci-workflow
SergioCasCeb Nov 15, 2023
b12e7ab
Updating to the newer version
SergioCasCeb Nov 20, 2023
d15b65a
Added new workflow for the new web package
SergioCasCeb Oct 13, 2023
08d8da6
Installing supported browsers
SergioCasCeb Oct 13, 2023
45f3bb5
Updating to the newer version
SergioCasCeb Nov 20, 2023
60713c1
Merge branch 'playwright-ci-workflow' of https://github.com/SergioCas…
SergioCasCeb Dec 21, 2023
a12461a
Added new workflow for the new web package
SergioCasCeb Oct 13, 2023
692e77c
Installing supported browsers
SergioCasCeb Oct 13, 2023
76ad43d
Updating to the newer version
SergioCasCeb Nov 20, 2023
67857c0
Merge branch 'playwright-ci-workflow' of https://github.com/SergioCas…
SergioCasCeb Dec 21, 2023
4dd3caa
Increased the timeout limit
SergioCasCeb Dec 21, 2023
cbd11ca
.
SergioCasCeb Dec 21, 2023
528ba51
Update visual-ci-new.yaml
egekorkan Dec 27, 2023
7760126
Merge remote-tracking branch 'origin/master' into playwright-ci-workflow
egekorkan Dec 27, 2023
b9c4058
Increased the timeout limit
SergioCasCeb Dec 21, 2023
4f687d8
.
SergioCasCeb Dec 21, 2023
5398197
Merge branch 'playwright-ci-workflow' of https://github.com/SergioCas…
SergioCasCeb Dec 27, 2023
270ebbd
Modify the playwright config file to work with the CI pipeline
SergioCasCeb Jan 5, 2024
dfebc10
.
SergioCasCeb Jan 5, 2024
5ebeb26
Testing different ports
SergioCasCeb Jan 5, 2024
76abc48
.
SergioCasCeb Jan 5, 2024
d6cf68f
removing unnecesary dependencies
SergioCasCeb Jan 5, 2024
55f4685
creating the server in the playwright config file
SergioCasCeb Jan 5, 2024
2589c44
adding a timeout
SergioCasCeb Jan 5, 2024
e8aeeaa
trying default playwright settings
SergioCasCeb Jan 5, 2024
fecb911
.
SergioCasCeb Jan 5, 2024
3fd0e2d
.
SergioCasCeb Jan 5, 2024
382db50
returning to original
SergioCasCeb Jan 5, 2024
51ebc74
added workflow changes
SergioCasCeb Feb 2, 2024
53e8a8c
Changed the yaml file
SergioCasCeb Feb 2, 2024
f5e2de9
Putting everything in one step for testing
SergioCasCeb Feb 2, 2024
58df5ed
Fixed the new visual yaml file to run server first
SergioCasCeb Feb 2, 2024
9c893d2
Changed the config file
SergioCasCeb Feb 2, 2024
c19f378
Reduce amount of tests to 1
SergioCasCeb Feb 7, 2024
a131f2f
Building the project before the testing
SergioCasCeb Feb 7, 2024
6b3dbbe
Running tests with playwrights web server
SergioCasCeb Feb 7, 2024
6f5eced
Getting playwright report in github actions
SergioCasCeb Feb 7, 2024
b896d6f
Running all tests, and removing unnecessary tests
SergioCasCeb Feb 7, 2024
e1fafca
increasing timeout and testing only for chromium
SergioCasCeb Feb 7, 2024
91039b0
Added new workflow for the new web package
SergioCasCeb Oct 13, 2023
ea416f8
Installing supported browsers
SergioCasCeb Oct 13, 2023
8253781
Updating to the newer version
SergioCasCeb Nov 20, 2023
c120ef2
Increased the timeout limit
SergioCasCeb Dec 21, 2023
c76474f
.
SergioCasCeb Dec 21, 2023
51925fa
Update visual-ci-new.yaml
egekorkan Dec 27, 2023
8a60c81
Modify the playwright config file to work with the CI pipeline
SergioCasCeb Jan 5, 2024
21f4522
.
SergioCasCeb Jan 5, 2024
46f7077
Testing different ports
SergioCasCeb Jan 5, 2024
282bbc4
.
SergioCasCeb Jan 5, 2024
44f4106
removing unnecesary dependencies
SergioCasCeb Jan 5, 2024
0d30e28
creating the server in the playwright config file
SergioCasCeb Jan 5, 2024
38175e7
adding a timeout
SergioCasCeb Jan 5, 2024
bc4e930
trying default playwright settings
SergioCasCeb Jan 5, 2024
0c981bf
.
SergioCasCeb Jan 5, 2024
c8dc8a1
.
SergioCasCeb Jan 5, 2024
ea1c106
returning to original
SergioCasCeb Jan 5, 2024
4c34433
added workflow changes
SergioCasCeb Feb 2, 2024
91092c2
Changed the yaml file
SergioCasCeb Feb 2, 2024
a47a61a
Putting everything in one step for testing
SergioCasCeb Feb 2, 2024
f07fe3f
Fixed the new visual yaml file to run server first
SergioCasCeb Feb 2, 2024
28b2ad6
Changed the config file
SergioCasCeb Feb 2, 2024
e024fa9
Reduce amount of tests to 1
SergioCasCeb Feb 7, 2024
c4a2046
Building the project before the testing
SergioCasCeb Feb 7, 2024
74d0b4e
Running tests with playwrights web server
SergioCasCeb Feb 7, 2024
a2b0d5c
Getting playwright report in github actions
SergioCasCeb Feb 7, 2024
1a28607
Running all tests, and removing unnecessary tests
SergioCasCeb Feb 7, 2024
6021675
increasing timeout and testing only for chromium
SergioCasCeb Feb 7, 2024
afa857f
Merge branch 'playwright-ci-workflow' of https://github.com/SergioCas…
SergioCasCeb Feb 12, 2024
f370293
fixed failing tests
SergioCasCeb Feb 12, 2024
9c3c444
waiting for element to properly load to fix test
SergioCasCeb Feb 12, 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
35 changes: 35 additions & 0 deletions .github/workflows/visual-ci-new.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Visual Testing Pipeline

on:
pull_request:
paths-ignore:
- "**.md"
- "**.png"
- "**.drawio"
- "**.xlsx"

jobs:
setup-and-visual-test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
egekorkan marked this conversation as resolved.
Show resolved Hide resolved

- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: "16.x"

- name: Use lerna
run: npm install -g [email protected]

- name: Bootstrap
run: lerna bootstrap --no-ci

- name: New Web Visual Test
run: |
cd ./packages/web-new
npm install
npx playwright install
npm run test
3 changes: 2 additions & 1 deletion packages/web-new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"build": "node external-scripts/generate-paths.js && webpack --mode production",
"dev": "webpack serve --mode development",
"serve": "node server/server.js",
"examples": "node external-scripts/generate-paths.js"
"examples": "node external-scripts/generate-paths.js",
"test": "npx playwright test"
},
"devDependencies": {
"@babel/core": "^7.22.9",
Expand Down
Loading