@camunda/e2e-test-suite 0.0.1411 → 0.0.1413

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,14 +141,19 @@ const test = test_1.test.extend({
141
141
  await use(new ConnectorTemplatePage_1.ConnectorTemplatePage(page));
142
142
  },
143
143
  overrideTrackingScripts: [
144
- async ({ context }, use) => {
145
- await context.route('https://cmp.osano.com/16CVvwSNKHi9t1grQ/9403708a-488b-4f3b-aea6-613825dec79f/osano.js', (route) => route.fulfill({
146
- status: 200,
147
- headers: {
148
- 'Content-Type': 'text/javascript;charset=UTF-8',
149
- },
150
- body: '',
151
- }));
144
+ async ({ context, browserName }, use) => {
145
+ // Any context.route() makes Playwright's Firefox load every document
146
+ // with LOAD_BYPASS_CACHE, which bypasses the service worker that
147
+ // 8.7 Identity needs to serve its assets under /identity.
148
+ if (browserName !== 'firefox') {
149
+ await context.route('https://cmp.osano.com/16CVvwSNKHi9t1grQ/9403708a-488b-4f3b-aea6-613825dec79f/osano.js', (route) => route.fulfill({
150
+ status: 200,
151
+ headers: {
152
+ 'Content-Type': 'text/javascript;charset=UTF-8',
153
+ },
154
+ body: '',
155
+ }));
156
+ }
152
157
  await use();
153
158
  },
154
159
  {
@@ -268,7 +268,7 @@ class IdentityTenantPage {
268
268
  await this.fillSearchApplicationsInput(clientName);
269
269
  await this.page.getByText(clientName, { exact: true }).click();
270
270
  await this.clickAssignApplicationsFinalButton();
271
- await (0, test_1.expect)(this.page.getByText('Applications assigned')).toBeVisible({
271
+ await (0, test_1.expect)(this.page.getByText('Applications assigned', { exact: true })).toBeVisible({
272
272
  timeout: 60000,
273
273
  });
274
274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.1411",
3
+ "version": "0.0.1413",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",