test: Refactoring toolbar data-cy selectors (#1323)

This commit is contained in:
Mirna Silva authored and Danny Brown committed 2019-12-20 14:07:00 -05:00
1 parent e1142910e4
commit d6d92afbda
6 files changed
+44 -55

No files matched your search

@@ -27,7 +27,7 @@ describe('OHIF VTK Extension', () => {
.wait(1000); // TODO: Once issue #1167 is fixed, the wait command should be removed. (https://github.com/OHIF/Viewers/issues/1167)
//Select 2D MPR button
cy.get('.PluginSwitch > .toolbar-button').click();
cy.get('[data-cy="2d mpr"]').click();
//Wait Reformatting Images
cy.waitVTKReformatting();