Skip to content

Commit

Permalink
Remove unused code in people-new.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lkleisa committed Mar 3, 2023
1 parent bcc3113 commit 2faaaa4
Showing 1 changed file with 2 additions and 31 deletions.
33 changes: 2 additions & 31 deletions frontend/tests/pages/people-new.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import RSVP from "rsvp";
import {
clickable,
create,
visitable,
fillable,
clickable,
text,
collection
visitable
} from "ember-cli-page-object";

const { resolve } = RSVP;
Expand Down Expand Up @@ -55,33 +54,5 @@ export default create({
language: text("[data-test-person-language]", { multiple: true }),
maritalStatus: text("#data-test-person-marital-status"),
shortname: text("#data-test-person-shortname")
},

competences: {
toggleForm: clickable("[data-test-competences-edit-form-toggle]"),
submit: clickable("#submit-button"),

list: collection({
itemScope: ".competence-entity",
item: {
text: text()
}
})
},

educations: {
amountOf: text("#amount-of-educations"),
toggleForm: clickable("#educations-content-show .zeile"),

list: collection({
itemScope: ".education-entity",
item: {
text: text()
}
}),

submit: clickable("#submit-education-button"),
delete: clickable("#delete-education-icon #deleteButton"),
confirm: clickable("#delete-button")
}
});

0 comments on commit 2faaaa4

Please sign in to comment.