Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
test/e2e/ui/index: Add e2e test to click on chart lens
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Marios Balamatsias <[email protected]>
  • Loading branch information
mbalamat committed Aug 23, 2020
1 parent 903d945 commit 85bebd5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/e2e/ui/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,20 @@ ava.serial('workflows: Should be able to create a new workflow', async (test) =>

// Charting
// =============================================================================
ava.serial('Should be able to click to chart lens of pull requests', async (test) => {
const {
page
} = context

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"]')
test.pass()
})

ava.serial('Should be able to navigate to chart lens of pull requests', async (test) => {
const {
page
Expand Down

0 comments on commit 85bebd5

Please sign in to comment.