This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-type: patch Signed-off-by: Marios Balamatsias <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -603,3 +603,29 @@ ava.serial('workflows: Should be able to create a new workflow', async (test) => | |
|
||
test.pass() | ||
}) | ||
|
||
// Charting | ||
// ============================================================================= | ||
ava.serial('Should be able to navigate to chart lens of pull requests', async (test) => { | ||
const { | ||
page | ||
} = context | ||
|
||
// eslint-disable-next-line max-statements-per-line | ||
page.on('console', (msg) => { console.log('PAGE LOG:', msg.text()) }) | ||
const pullRequest = require('./fixtures/pull-requests.json') | ||
|
||
await context.sdk.card.create({ | ||
type: '[email protected]', | ||
data: pullRequest | ||
}) | ||
|
||
await macros.navigateToHomeChannelItem(page, [ | ||
'[data-test="home-channel__group-toggle--org-balena"]', | ||
'[data-test="home-channel__item--view-all-pull-requests"]' | ||
]) | ||
|
||
await macros.waitForThenClickSelector(page, '[data-test="lens-selector--lens-chart"]') | ||
await page.waitForSelector('.plotly') | ||
test.pass() | ||
}) |
This file was deleted.
Oops, something went wrong.