dialogFixture.button("ButtonNotStart").requireDisabled();
dialogFixture.button("ButtonNotStart").requireText(
"Ikke startet produksjon");
JTableFixture tableFixture = dialogFixture
.table(TableEnum.TABLEPRODUCTIONGAVL.getTableName());
assertEquals("Startet", tableFixture.target.getColumnName(9));
tableFixture.cell(row(0).column(1)).click();
String content = tableFixture.cell(row(0).column(9)).value();
if (content.equalsIgnoreCase("---")) {
dialogFixture.button("ButtonStart").requireEnabled();
dialogFixture.button("ButtonStart").click();
dialogFixture.button("ButtonStart").requireDisabled();
tableFixture.cell(row(0).column(1)).click();
dialogFixture.button("ButtonStart").requireDisabled();
dialogFixture.button("ButtonNotStart").requireEnabled();
} else {
dialogFixture.button("ButtonNotStart").requireEnabled();
dialogFixture.button("ButtonNotStart").click();
dialogFixture.button("ButtonNotStart").requireDisabled();
tableFixture.cell(row(0).column(1)).click();
dialogFixture.button("ButtonNotStart").requireDisabled();
dialogFixture.button("ButtonStart").requireEnabled();
}
}