Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 8 additions & 0 deletions testing/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.providers.json

# Test artifacts
playwright-report/
test-results/

# IDE and local config
.cursor/
15 changes: 5 additions & 10 deletions testing/PlaywrightContainerFile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.55.0-noble
FROM mcr.microsoft.com/playwright:v1.57.0-noble

ARG GIT_COMMIT=unknown
ARG BUILD_DATE=unknown
Expand Down Expand Up @@ -30,24 +30,19 @@ RUN curl -sL https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/op
| tar -xz -C /usr/local/bin oc kubectl \
&& chmod +x /usr/local/bin/oc /usr/local/bin/kubectl

# Install Python dependencies for Report Portal
# Install Python dependencies for Report Portal (rp-uploader cloned at runtime)
RUN pip3 install --no-cache-dir --break-system-packages \
PyYAML requests lxml 'reportportal-client~=5.0.0' \
xmltodict jinja2 packaging setuptools suds-py3

# Clone Report Portal uploader
RUN GIT_SSL_NO_VERIFY=1 git clone \
https://gitlab.cee.redhat.com/migrationqe/rp-uploader.git \
/opt/rp-uploader

COPY package.json yarn.lock ./
RUN corepack enable && yarn install --frozen-lockfile --ignore-scripts

COPY . .

RUN chmod +x run-tests.sh upload-to-rp.sh && \
chown -R 1001:0 /test-runner /opt/rp-uploader && \
chmod -R g+w /test-runner /opt/rp-uploader
RUN chmod +x run-tests.sh && \
chown -R 1001:0 /test-runner && \
chmod -R g+w /test-runner

USER 1001

Expand Down
4 changes: 2 additions & 2 deletions testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"license": "ISC",
"description": "",
"devDependencies": {
"playwright": "1.55.0",
"@playwright/test": "1.55.0",
"playwright": "1.57.0",
"@playwright/test": "1.57.0",
"@types/node": "^20.0.0",
"typescript": "^5.8.2"
},
Expand Down
2 changes: 1 addition & 1 deletion testing/playwright/types/test-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const createPlanTestData = (
isPreexisting: false,
mappings: [
{
source: 'mtv-nfs-rhos-v8',
source: 'mtv-nfs-us-v8',
target: 'ocs-storagecluster-ceph-rbd-virtualization',
},
],
Expand Down
75 changes: 0 additions & 75 deletions testing/upload-to-rp.sh

This file was deleted.