Bugzilla – Attachment 159283 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: Add missing file upload dialog cypress test
Bug-35392-Add-missing-file-upload-dialog-cypress-t.patch (text/plain), 1.61 KB, created by
Pedro Amorim
on 2023-11-27 16:44:49 UTC
(
hide
)
Description:
Bug 35392: Add missing file upload dialog cypress test
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-11-27 16:44:49 UTC
Size:
1.61 KB
patch
obsolete
>From a05590e91d6f24b133009895510e5c6892589ca1 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 27 Nov 2023 10:50:37 +0000 >Subject: [PATCH] Bug 35392: Add missing file upload dialog cypress test > >--- > .../integration/ERM/DataProviders_spec.ts | 23 +++++++++++++++++++ > 1 file changed, 23 insertions(+) > >diff --git a/t/cypress/integration/ERM/DataProviders_spec.ts b/t/cypress/integration/ERM/DataProviders_spec.ts >index 47e70abfaf..4adf693930 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, click here to check its progress." >+ ); > }); > > it("Should display import logs", () => { >-- >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