Skip to content

Commit

Permalink
[TEST] only run integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-el committed Nov 8, 2023
1 parent d0b05e7 commit f6e1cc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ describe('Snowplow Micro integration', () => {
testIdentifier = await pageSetup();
await loadUrlAndWait('/integration.html?eventMethod=get');
await $('#bottomRight').click();
await browser.pause(10000); // Time for requests to get written
await browser.pause(20000); // Time for requests to get written
await loadUrlAndWait('/integration.html?eventMethod=post');
await $('#bottomRight').click();
await browser.pause(10000); // Time for requests to get written
await browser.pause(20000); // Time for requests to get written
await loadUrlAndWait('/integration.html?eventMethod=beacon');
await $('#bottomRight').click();
await browser.pause(10000); // Time for requests to get written
await browser.pause(20000); // Time for requests to get written
log = await browser.call(async () => await fetchResults());
});

Expand Down
3 changes: 2 additions & 1 deletion trackers/javascript-tracker/test/wdio.default.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ function getFullPath(path: string): string {
type CustomTestRunnerConfig = Options.Testrunner & { dockerInstance?: DockerWrapper };

export const config: Omit<Options.Testrunner, 'capabilities'> = {
specs: [[getFullPath('test/functional/*.test.ts'), getFullPath('test/integration/*.test.ts')]],
// specs: [[getFullPath('test/functional/*.test.ts'), getFullPath('test/integration/*.test.ts')]],
specs: [[getFullPath('test/integration/integration.test.ts')]],
logLevel: 'warn',
baseUrl: 'http://snowplow-js-tracker.local:8080',
waitforTimeout: 30000,
Expand Down

0 comments on commit f6e1cc0

Please sign in to comment.