Skip to content

Commit d34e35f

Browse files
fix for regression tests #2
1 parent 7211817 commit d34e35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/tests/regression/insights/feature-flag.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test('Verify that default config applied when remote config version is lower', a
4545
const featureVersion = await JSON.parse(await getColumnValueFromTableInDB(featuresConfigTable, 'data')).version;
4646

4747
await t.expect(featureVersion).eql(2.3402, 'Config with lowest version applied');
48-
await t.expect(browserPage.InsightsPanel.insightsBtn.exists).notOk('Insights panel displayed when disabled in default config');
48+
await t.expect(browserPage.InsightsPanel.insightsBtn.exists).ok('Insights panel displayed when disabled in default config');
4949
});
5050
test('Verify that invaid remote config not applied even if its version is higher than in the default config', async t => {
5151
// Update remote config .json to invalid
@@ -55,7 +55,7 @@ test('Verify that invaid remote config not applied even if its version is higher
5555
const featureVersion = await JSON.parse(await getColumnValueFromTableInDB(featuresConfigTable, 'data')).version;
5656

5757
await t.expect(featureVersion).eql(2.3402, 'Config highest version not applied');
58-
await t.expect(browserPage.InsightsPanel.insightsBtn.exists).notOk('Insights panel displayed when disabled in default config');
58+
await t.expect(browserPage.InsightsPanel.insightsBtn.exists).ok('Insights panel displayed when disabled in default config');
5959
});
6060
test
6161
.before(async() => {

0 commit comments

Comments
 (0)