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