Skip to content

Conversation

@ryanrath
Copy link
Contributor

Description

Motivation and Context

Tests performed

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@ryanrath ryanrath changed the title Initial Playwright test commit Adding Playwright Tests Oct 22, 2025
@ryanrath ryanrath force-pushed the add-just-playwright-tests branch from 69e1766 to c321346 Compare October 22, 2025 18:46
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change the path?

@jpwhite4 jpwhite4 added the qa label Oct 23, 2025
@ryanrath ryanrath force-pushed the add-just-playwright-tests branch from fe4a03d to 840e935 Compare October 23, 2025 19:47
This is the initial set of Playwright tests for xdmod-supremm.
@ryanrath ryanrath force-pushed the add-just-playwright-tests branch from 840e935 to 4a826ae Compare October 23, 2025 20:10
XDMOD_MODULE_DIR: "${MODULE_INSTALL_DIR}"
XDMOD_TEST_MODE: "${XDMOD_TEST_MODE}"
XDMOD_INSTALL_DIR: '/usr/share/xdmod'
MODULE_INSTALL_DIR: '/root/xdmod-supremm'
Copy link
Member

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'
Copy link
Member

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.

Copy link
Member

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"
Copy link
Member

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.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

@jpwhite4
Copy link
Member

Seen this message in the logs:

***************************************************************
Shared memory is less than 2G, tests may fail randomly
If you are using Docker use the option of --shm-size 2g
***************************************************************

is this a concern?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants