Bugzilla – Attachment 147972 Details for
Bug 33066
We need a KohaTable Vue component
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33066: Fix agreements and licenses cypress tests
Bug-33066-Fix-agreements-and-licenses-cypress-test.patch (text/plain), 2.12 KB, created by
Pedro Amorim
on 2023-03-08 18:38:58 UTC
(
hide
)
Description:
Bug 33066: Fix agreements and licenses cypress tests
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-03-08 18:38:58 UTC
Size:
2.12 KB
patch
obsolete
>From 73a2b3893e4046629bf87f873a80f31f7eaa3a64 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Wed, 8 Mar 2023 18:37:36 +0000 >Subject: [PATCH] Bug 33066: Fix agreements and licenses cypress tests > >--- > t/cypress/integration/Agreements_spec.ts | 3 +-- > t/cypress/integration/Licenses_spec.ts | 1 - > 2 files changed, 1 insertion(+), 3 deletions(-) > >diff --git a/t/cypress/integration/Agreements_spec.ts b/t/cypress/integration/Agreements_spec.ts >index b983545954..5fb812dfa9 100644 >--- a/t/cypress/integration/Agreements_spec.ts >+++ b/t/cypress/integration/Agreements_spec.ts >@@ -515,7 +515,7 @@ describe("Agreement CRUD operations", () => { > statusCode: 500, > error: "Something went wrong", > }); >- cy.contains("Accept").click(); >+ cy.contains("Yes, delete").click(); > cy.get("main div[class='dialog alert']").contains( > "Something went wrong: Error: Internal Server Error" > ); >@@ -563,7 +563,6 @@ describe("Agreement CRUD operations", () => { > cy.get('#agreements_show .action_links .fa-trash').click(); > cy.get(".dialog.alert.confirmation h1").contains("remove this agreement"); > cy.contains("Yes, delete").click(); >- cy.get("main div[class='dialog message']").contains("Agreement").contains("deleted"); > > //Make sure we return to list after deleting from show > cy.get("#agreements_list table tbody tr:first") >diff --git a/t/cypress/integration/Licenses_spec.ts b/t/cypress/integration/Licenses_spec.ts >index 628417aa18..8879151828 100644 >--- a/t/cypress/integration/Licenses_spec.ts >+++ b/t/cypress/integration/Licenses_spec.ts >@@ -309,7 +309,6 @@ describe("License CRUD operations", () => { > cy.get('#licenses_show .action_links .fa-trash').click(); > cy.get(".dialog.alert.confirmation h1").contains("remove this license"); > cy.contains("Yes, delete").click(); >- cy.get("main div[class='dialog message']").contains("License").contains("deleted"); > > //Make sure we return to list after deleting from show > cy.get("#licenses_list table tbody tr:first") >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33066
:
147352
|
147353
|
147354
|
147692
|
147693
|
147694
|
147713
|
147846
|
147847
|
147848
|
147849
|
147850
|
147851
|
147852
|
147853
|
147855
|
147856
|
147857
|
147858
|
147862
|
147865
|
147902
|
147903
|
147904
|
147905
|
147906
|
147907
|
147908
|
147909
|
147910
|
147911
|
147912
|
147913
|
147914
|
147915
|
147916
|
147917
|
147918
|
147921
|
147922
|
147923
|
147925
|
147926
|
147928
|
147957
|
147960
|
147971
|
147972
|
148718
|
149158
|
149159
|
149160
|
149161
|
149162
|
149163
|
149164
|
149165
|
149166
|
149167
|
149168
|
149169
|
149170
|
149171
|
149172
|
149173
|
149174
|
149175
|
149176
|
149177
|
149178
|
149179
|
149180
|
149181
|
149182
|
149183