Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
briehl committed Sep 25, 2024
1 parent 46f6d42 commit 7259482
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/specs/cookie_tests.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/* global browser, $ */
const { login } = require('../wdioUtils.js');
const TIMEOUT = 30000;
const env = process.env.ENV || 'ci';
const testData = require('./narrative_basic_data.json');
const testCases = testData.envs[env];
const AUTH_COOKIE = 'kbase_session';
const AUTH_BACKUP_COOKIE = 'kbase_session_backup';

Expand All @@ -17,7 +19,7 @@ describe('Narrative tree page with login', () => {
});

it('opens a narrative and has a backup cookie, if expected by the env', async () => {
await browser.url(`/narrative/${testData.CASE_1.narrativeId}`);
await browser.url(`/narrative/${testCases.CASE_1.narrativeId}`);
const loadingBlocker = await $('#kb-loading-blocker');
await loadingBlocker.waitForDisplayed({
timeout: TIMEOUT,
Expand Down

0 comments on commit 7259482

Please sign in to comment.