Skip to content

Commit

Permalink
Add ariaLabel to test
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinbusso committed Nov 5, 2024
1 parent e5978e5 commit 3cc49e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/e2e/specs/FormSelectList.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,23 +348,23 @@ describe("Form Select List", () => {
cy.get("[data-cy=inspector-edit-json]").click();

cy.assertComponentValueAsJson('[data-cy="inspector-monaco-json"]', [
{ content: "one", value: "one" }
{ content: "one", value: "one", ariaLabel: "" }
]);

cy.setVueComponentValue(
'[data-cy="inspector-monaco-json"]',
JSON.stringify([
{ content: "one", value: "one" },
{ content: "two", value: "two" }
{ content: "one", value: "one", ariaLabel: "" },
{ content: "two", value: "two", ariaLabel: "" }
])
);
cy.get("[data-cy=inspector-monaco-json-expand]").click();
cy.setVueComponentValue(
'[data-cy="inspector-monaco-json-expanded"]',
JSON.stringify(
[
{ content: "one", value: "one" },
{ content: "two", value: "two" }
{ content: "one", value: "one", ariaLabel: "" },
{ content: "two", value: "two", ariaLabel: "" }
],
null,
2
Expand Down

0 comments on commit 3cc49e2

Please sign in to comment.