Bugzilla – Attachment 164467 Details for
Bug 35392
HTML in translatable string
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35392: Update tests
Bug-35392-Update-tests.patch (text/plain), 2.12 KB, created by
David Nind
on 2024-04-05 10:59:23 UTC
(
hide
)
Description:
Bug 35392: Update tests
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-04-05 10:59:23 UTC
Size:
2.12 KB
patch
obsolete
>From 969ff9267aceb647cd4241d70fd11676653113db Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 4 Jan 2024 11:52:43 +0000 >Subject: [PATCH] Bug 35392: Update tests > >Run: >yarn cypress run --spec "t/cypress/integration/ERM/DataProviders_spec.ts" > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../integration/ERM/DataProviders_spec.ts | 25 ++++++++++++++++++- > 1 file changed, 24 insertions(+), 1 deletion(-) > >diff --git a/t/cypress/integration/ERM/DataProviders_spec.ts b/t/cypress/integration/ERM/DataProviders_spec.ts >index 47e70abfaf..06e3fa6597 100644 >--- a/t/cypress/integration/ERM/DataProviders_spec.ts >+++ b/t/cypress/integration/ERM/DataProviders_spec.ts >@@ -618,6 +618,29 @@ describe("Data provider tab options", () => { > cy.get("#import_file").click(); > cy.get("#import_file").selectFile("t/cypress/fixtures/file.json"); > cy.get("#files .file_information span").contains("file.json"); >+ >+ cy.intercept( >+ "POST", >+ "/api/v1/erm/usage_data_providers/1/process_COUNTER_file*", >+ { >+ statusCode: 200, >+ body: { >+ jobs: [ >+ { >+ job_id: 1, >+ }, >+ ], >+ }, >+ } >+ ); >+ >+ cy.get("#files > form > fieldset > input[type=submit]").click(); >+ >+ cy.get( >+ "#erm > div > div.main.container-fluid > div > div.col-sm-10.col-sm-push-2 > main > div.dialog.message > li" >+ ).contains( >+ "Job for uploaded file has been queued. Check job progress." >+ ); > }); > > it("Should display import logs", () => { >@@ -722,7 +745,7 @@ describe("Data providers action buttons", () => { > cy.get( > "#erm > div > div.main.container-fluid > div > div.col-sm-10.col-sm-push-2 > main > div.dialog.message > li" > ).contains( >- "Job for report type TR_J1 has been queued, click here to check its progress." >+ "Job for report type TR_J1 has been queued. Check job progress." > ); > }); > >-- >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 35392
:
159256
|
159263
|
159264
|
159265
|
159279
|
159280
|
159281
|
159283
|
160450
|
160451
|
160512
|
160513
|
164466
|
164467
|
164473
|
164474
|
164475