Skip to content

Commit ee2bd0e

Browse files
Merge branch 'master' into is7097/licensed-items-db
2 parents 42df0d1 + b50e7e8 commit ee2bd0e

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

.github/mergify.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
# NOTE: the PR is added to the queue when all checks have passed
2-
# and the CI is fully green.
3-
# If the PR is behind the queue will take care of updating it
41
queue_rules:
52
- name: default
6-
queue_conditions:
3+
queue_conditions: # condtions to be met to add the PR to the queue (manually or automatically)
74
# general prerequisits fo accept the PR in the queue
85
- label=🤖-automerge # let Mergify know that the PR can be merged (added manually)
96
- label!=🤖-do-not-merge # block Mergify from merging the PR (added manually)
@@ -16,17 +13,17 @@ queue_rules:
1613
- "#changes-requested-reviews-by=0" # No changes requested
1714
- "#review-threads-unresolved=0" # All review threads resolved
1815

19-
merge_conditions:
16+
merge_conditions: # conditions to be met before being able to merge
2017
# list of CI checks that need to pass
18+
- check-success=system-test-environment-setup
19+
- check-success=changes
20+
- check-success=build-test-images
21+
- check-success=build-test-images-frontend
2122
- check-success=unit-tests
2223
- check-success=integration-tests
2324
- check-success=system-tests
2425

25-
# NOTE: in case of flaky tests you above checks will fail
26-
# the PR will be removed from the queue.
27-
# Once the PR is ready to be merged the flaky tests will
28-
# be retried automatically.
29-
# As soon as the CI is green, the PR will be pushed to the queue
26+
3027
pull_request_rules:
3128
- name: retry flaky tests (when PR is approved)
3229
conditions:
@@ -41,6 +38,10 @@ pull_request_rules:
4138
- "#review-threads-unresolved=0" # All review threads resolved
4239

4340
- or:
41+
- check-failure=system-test-environment-setup
42+
- check-failure=changes
43+
- check-failure=build-test-images
44+
- check-failure=build-test-images-frontend
4445
- check-failure=unit-tests
4546
- check-failure=integration-tests
4647
- check-failure=system-tests
@@ -51,3 +52,18 @@ pull_request_rules:
5152
workflow:
5253
dispatch:
5354
- workflow: ci-testing-deploy.yml
55+
56+
- name: Automatically add PR to queue if it meets conditions
57+
conditions:
58+
- "label=🤖-automerge"
59+
- "label!=🤖-do-not-merge"
60+
- "base=master"
61+
62+
- "-draft" # PR is not in draft state
63+
- "-conflict" # PR has no conflicts
64+
- "#approved-reviews-by>=2" # Requires 2 approvals
65+
- "#changes-requested-reviews-by=0" # No requested changes
66+
- "#review-threads-unresolved=0" # All review threads resolved
67+
actions:
68+
queue:
69+
name: default

tests/e2e-playwright/tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ def _(plus_button_test_id: str) -> None:
591591
with log_context(
592592
logging.INFO, f"Find plus button {plus_button_test_id=} in study browser"
593593
):
594+
page.get_by_test_id("newPlusBtn").click()
594595
page.get_by_test_id(plus_button_test_id).click()
595596

596597
return _

tests/e2e/utils/auto.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ async function dashboardNewTIPlan(page) {
114114
async function dashboardStartSim4LifeLite(page) {
115115
console.log("Start Sim4Lite from + button");
116116

117+
await utils.waitAndClick(page, '[osparc-test-id="newPlansBtn"]');
117118
await utils.waitAndClick(page, '[osparc-test-id="startS4LButton"]');
118119
}
119120

0 commit comments

Comments
 (0)