@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.
package/dist/fixtures/SM-8.7.js
CHANGED
|
@@ -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
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
}
|