Bug 34789: Update unit tests
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
7d2ce611f7
commit
4ec7c6a62e
3 changed files with 7 additions and 7 deletions
|
@ -181,8 +181,8 @@ describe("Title CRUD operations", () => {
|
||||||
cy.get("#title_parent_publication_title_id").type(
|
cy.get("#title_parent_publication_title_id").type(
|
||||||
erm_title.parent_publication_title_id
|
erm_title.parent_publication_title_id
|
||||||
);
|
);
|
||||||
cy.get("#title_preceeding_publication_title_id").type(
|
cy.get("#title_preceding_publication_title_id").type(
|
||||||
erm_title.preceeding_publication_title_id
|
erm_title.preceding_publication_title_id
|
||||||
);
|
);
|
||||||
cy.get("#title_access_type").type(erm_title.access_type);
|
cy.get("#title_access_type").type(erm_title.access_type);
|
||||||
|
|
||||||
|
@ -333,9 +333,9 @@ describe("Title CRUD operations", () => {
|
||||||
"have.value",
|
"have.value",
|
||||||
erm_title.parent_publication_title_id
|
erm_title.parent_publication_title_id
|
||||||
);
|
);
|
||||||
cy.get("#title_preceeding_publication_title_id").should(
|
cy.get("#title_preceding_publication_title_id").should(
|
||||||
"have.value",
|
"have.value",
|
||||||
erm_title.preceeding_publication_title_id
|
erm_title.preceding_publication_title_id
|
||||||
);
|
);
|
||||||
cy.get("#title_access_type").should(
|
cy.get("#title_access_type").should(
|
||||||
"have.value",
|
"have.value",
|
||||||
|
|
|
@ -66,7 +66,7 @@ cy.get_title = () => {
|
||||||
num_last_vol_online: "num last vol",
|
num_last_vol_online: "num last vol",
|
||||||
online_identifier: "online identifier",
|
online_identifier: "online identifier",
|
||||||
parent_publication_title_id: "parent id",
|
parent_publication_title_id: "parent id",
|
||||||
preceeding_publication_title_id: "preceeding id",
|
preceding_publication_title_id: "preceeding id",
|
||||||
print_identifier: "print identifier",
|
print_identifier: "print identifier",
|
||||||
publication_title: "publication title",
|
publication_title: "publication title",
|
||||||
publication_type: "journal",
|
publication_type: "journal",
|
||||||
|
|
|
@ -241,7 +241,7 @@ subtest 'add() tests' => sub {
|
||||||
first_editor => "First editor",
|
first_editor => "First editor",
|
||||||
parent_publication_title_id =>
|
parent_publication_title_id =>
|
||||||
"Title identifier of the parent publication",
|
"Title identifier of the parent publication",
|
||||||
preceeding_publication_title_id =>
|
preceding_publication_title_id =>
|
||||||
"Title identifier of any preceding publication title",
|
"Title identifier of any preceding publication title",
|
||||||
access_type => "Access type"
|
access_type => "Access type"
|
||||||
};
|
};
|
||||||
|
@ -415,7 +415,7 @@ subtest 'update() tests' => sub {
|
||||||
first_editor => "First editor",
|
first_editor => "First editor",
|
||||||
parent_publication_title_id =>
|
parent_publication_title_id =>
|
||||||
"Title identifier of the parent publication",
|
"Title identifier of the parent publication",
|
||||||
preceeding_publication_title_id =>
|
preceding_publication_title_id =>
|
||||||
"Title identifier of any preceding publication title",
|
"Title identifier of any preceding publication title",
|
||||||
access_type => "Access type"
|
access_type => "Access type"
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue