Lines 692-712
describe("Data providers action buttons", () => {
Link Here
|
692 |
.click(); |
692 |
.click(); |
693 |
cy.get(".modal_centered p").contains(dataProvider.name); |
693 |
cy.get(".modal_centered p").contains(dataProvider.name); |
694 |
|
694 |
|
695 |
cy.intercept("GET", "/api/v1/erm/usage_data_providers/1/run*", { |
695 |
cy.intercept( |
696 |
statusCode: 200, |
696 |
"POST", |
697 |
body: { |
697 |
"/api/v1/erm/usage_data_providers/1/process_SUSHI_response*", |
698 |
jobs: [ |
698 |
{ |
699 |
{ |
699 |
statusCode: 200, |
700 |
report_type: "TR_J1", |
700 |
body: { |
701 |
job_id: 1, |
701 |
jobs: [ |
702 |
}, |
702 |
{ |
703 |
], |
703 |
report_type: "TR_J1", |
704 |
}, |
704 |
job_id: 1, |
705 |
headers: { |
705 |
}, |
706 |
"X-Base-Total-Count": "1", |
706 |
], |
707 |
"X-Total-Count": "1", |
707 |
}, |
708 |
}, |
708 |
headers: { |
709 |
}); |
709 |
"X-Base-Total-Count": "1", |
|
|
710 |
"X-Total-Count": "1", |
711 |
}, |
712 |
} |
713 |
); |
710 |
cy.get("#confirmation_input_begin_date+input").click(); |
714 |
cy.get("#confirmation_input_begin_date+input").click(); |
711 |
cy.get(".flatpickr-current-month select") |
715 |
cy.get(".flatpickr-current-month select") |
712 |
.invoke("val") |
716 |
.invoke("val") |
713 |
- |
|
|