-
Notifications
You must be signed in to change notification settings - Fork 27
Adding Playwright Tests #444
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
base: main
Are you sure you want to change the base?
Conversation
69e1766 to
c321346
Compare
.circleci/config.yml
Outdated
| name: Checkout XDMoD | ||
| command: | | ||
| git clone --depth=1 https://github.com/ubccr/xdmod.git ../xdmod | ||
| git clone --depth=1 https://github.com/ubccr/xdmod.git ~/xdmod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change the path?
fe4a03d to
840e935
Compare
This is the initial set of Playwright tests for xdmod-supremm.
840e935 to
4a826ae
Compare
| XDMOD_MODULE_DIR: "${MODULE_INSTALL_DIR}" | ||
| XDMOD_TEST_MODE: "${XDMOD_TEST_MODE}" | ||
| XDMOD_INSTALL_DIR: '/usr/share/xdmod' | ||
| MODULE_INSTALL_DIR: '/root/xdmod-supremm' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing inside the docker container needs this environment variable. Please don't add it
| environment: | ||
| BASE_URL: https://xdmod | ||
| XDMOD_REALMS: 'jobs,storage,cloud,resourcespecifications,supremm' | ||
| XDMOD_INSTALL_DIR: '/root/xdmod' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't hardcode paths in this file. They should be defined once in the top level .circleci/config.yml (in fact they are defined there already).
Also this is not needed inside the docker container so you don't need to add it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MODULE_INSTALL_DIR that is...
| "license": "GPL-3.0", | ||
| "repository": "https://github.com/ubccr/xdmod-supremm", | ||
| "dependencies": { | ||
| "@playwright/test": "^1.56.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come the playwright/test dependency is listed here? The supremm tests won't work with this dependency - they need the xdmod base tests to function.
.circleci/config.yml
Outdated
| when: always | ||
| - run: | ||
| name: Copy XDMoD Playwright test results to host system | ||
| command: docker cp xdmod:/root/xdmod/tests/playwright/test-results/. ~/project/log/playwright/xdmod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| command: docker cp xdmod:/root/xdmod/tests/playwright/test-results/. ~/project/log/playwright/xdmod | |
| command: docker cp playwright:$XDMOD_INSTALL_DIR/tests/playwright/test-results/. ~/project/log/playwright/xdmod |
|
Seen this message in the logs: is this a concern? |
Description
Motivation and Context
Tests performed
Types of changes
Checklist: