Skip to content

Commit 8760958

Browse files
committed
try
1 parent 1a64e14 commit 8760958

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

.github/e2e/test.app.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ set -e
55
mkdir -p tests/e2e/remote
66

77
# Run RTE (Redis Test Environment)
8-
# docker compose -f tests/e2e/rte.docker-compose.yml build
9-
# docker compose -f tests/e2e/rte.docker-compose.yml up --force-recreate -d -V
10-
# ./tests/e2e/wait-for-redis.sh localhost 12000
8+
docker compose -f tests/e2e/rte.docker-compose.yml build
9+
docker compose -f tests/e2e/rte.docker-compose.yml up --force-recreate -d -V
10+
./tests/e2e/wait-for-redis.sh localhost 12000
1111

1212
# Run tests
13-
# RI_SOCKETS_CORS=true xvfb-run --auto-servernum yarn --cwd tests/e2e dotenv -e .ci.env yarn --cwd tests/e2e test:ci
1413
RI_SOCKETS_CORS=true \
15-
TEST_FILES=dist/tests/settings/settings.e2e.js \
1614
xvfb-run --auto-servernum \
1715
yarn --cwd tests/e2e dotenv -e .ci.env yarn --cwd tests/e2e test:ci

.github/workflows/tests-e2e-linux.yml

+2-13
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
# Number of threads to run tests
32-
# parallel: [0, 1, 2, 3]
33-
parallel: [0]
32+
parallel: [0, 1, 2, 3]
33+
# parallel: [0]
3434

3535
steps:
3636
- uses: actions/checkout@v4
@@ -130,17 +130,6 @@ jobs:
130130
list-suites: 'failed'
131131
fail-on-error: 'false'
132132

133-
- name: Generate mocha test results for ${{ matrix.parallel }}th node
134-
uses: dorny/test-reporter@v1
135-
if: always()
136-
with:
137-
name: 'Test results: E2E (linux) ${{ matrix.parallel }}th node'
138-
path: tests/e2e/mochawesome-report/*.json
139-
reporter: mocha-json
140-
list-tests: 'failed'
141-
list-suites: 'failed'
142-
fail-on-error: 'false'
143-
144133
# merge-artifacts:
145134
# runs-on: ubuntu-latest
146135
# needs: e2e-linux-tests

tests/e2e/src/tests/setup.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ describe('Agreements Verification', () => {
7070
// Verify that Submit button disabled by default if EULA not accepted
7171
expect(
7272
await eulaView.isElementDisabled(eulaView.submitButton, 'class'),
73-
).eql(false, 'Submut button not disabled by default')
73+
).eql(true, 'Submut button not disabled by default')
7474
})
7575

7676
it('Verify that when user checks "Use recommended settings" option on EULA screen, all options (except Licence Terms) are checked', async () => {
7777
// Verify options unchecked before enabling Use recommended settings
7878
expect(
7979
await CheckboxActions.getCheckboxState(eulaView.analyticsCheckbox),
80-
).eql(true, 'Enable Analytics switcher is checked')
80+
).eql(false, 'Enable Analytics switcher is checked')
8181
expect(
8282
await CheckboxActions.getCheckboxState(eulaView.useRecommendedCheckbox),
83-
).eql(true, 'Use recommended settings switcher is checked')
83+
).eql(false, 'Use recommended settings switcher is checked')
8484
expect(await CheckboxActions.getCheckboxState(eulaView.eulaCheckbox)).eql(
8585
false,
8686
'EULA switcher is checked',

0 commit comments

Comments
 (0)