Try to fix flaky cypress test
This commit is contained in:
parent
a31ad24a5a
commit
ca01bf1196
|
|
@ -218,7 +218,7 @@ watch(selectedCourse, async () => {
|
|||
<span class="inline">{{ $t("general.back") }}</span>
|
||||
</router-link>
|
||||
|
||||
<h2 class="my-4">{{ $t("a.Termine") }}</h2>
|
||||
<h2 class="my-4" data-cy="title">{{ $t("a.Termine") }}</h2>
|
||||
<div class="bg-white px-4 py-2">
|
||||
<section
|
||||
v-if="filtersVisible"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { login } from "./helpers";
|
|||
function selectDropboxItem(dropboxSelector, item) {
|
||||
cy.get(dropboxSelector).click();
|
||||
cy.get(dropboxSelector).contains(item).click();
|
||||
cy.get('[data-cy="title"]').should("contain", "Termine");
|
||||
}
|
||||
|
||||
describe("dueDates.cy.js", () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue