Skip to content

Commit

Permalink
update e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
fhiroki committed Jun 28, 2023
1 parent 4f117ce commit 071e0ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/scripts/st_multiselect.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def set_multiselect_9_to_have_bad_state():

options = ("male", "female")

i1 = st.multiselect("multiselect 1", options)
i1 = st.multiselect("multiselect 1", options, placeholder="Please select")
st.text(f"value 1: {i1}")

i2 = st.multiselect("multiselect 2", options, format_func=lambda x: x.capitalize())
Expand Down
2 changes: 1 addition & 1 deletion e2e/specs/st_multiselect.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe("st.multiselect", () => {
it("should show the correct placeholder", () => {
cy.get(".stMultiSelect")
.first()
.should("have.text", "multiselect 1Choose an optionopen");
.should("have.text", "multiselect 1Please selectopen");
});
});

Expand Down

0 comments on commit 071e0ed

Please sign in to comment.