Skip to content

Commit 14cc039

Browse files
committed
update: fix test
1 parent f170bed commit 14cc039

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/cypress/support/step_definitions/material with following data exists in state.ts

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Given("material with following data exists in state", (table: DataTable) => {
1818
const assertMaterialExists = (material: object) => {
1919
BrowserManager.getBrowser()
2020
.execute((win) => {
21+
// Note that the actual type of m is MDMaterial in the `map` below, not Made.Material
22+
// Using Made.Material here to avoid dependency on the MDMaterial class
2123
// @ts-ignore
2224
return win.MDContainer.store
2325
.getState()

0 commit comments

Comments
 (0)