Skip to content

Commit

Permalink
"Fix" toolbar.spec.js
Browse files Browse the repository at this point in the history
"Fixes" by skipping the test for "VMs & Templates" since database
seeding, factories, and database cleaning needs to be supported before
this is testable.
  • Loading branch information
NickLaMuro committed Aug 11, 2020
1 parent 6d1675f commit d504ea5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions cypress/integration/ui/toolbar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ describe('Toolbar', () => {

it("click toolbar buttons", () => {
// click a button group button
cy.menu('Compute', 'Infrastructure', 'Virtual Machines')
.accordion('VMs & Templates')
.toolbar('Lifecycle', 'Provision VMs');
//
// FIXME: Fix .menu so extra call to Overview -> Dashboard is not needed
// FIXME: Add FactoryBot helpers for database cleaning to add provider/vm
//
// cy.menu('Overview', 'Dashboard')
// cy.menu('Compute', 'Infrastructure', 'Virtual Machines')
// .accordion('VMs & Templates')
// .toolbar('Lifecycle', 'Provision VMs');

// click a standalone button
cy.menu('Services', 'Requests')
Expand Down

0 comments on commit d504ea5

Please sign in to comment.