test: Try removing clear-cache
This commit is contained in:
parent
d41ca958ab
commit
7629f07dbf
1 changed files with 2 additions and 9 deletions
|
|
@ -2,16 +2,9 @@ context('List View', () => {
|
|||
before(() => {
|
||||
cy.login();
|
||||
cy.visit('/desk');
|
||||
cy.window().its('frappe').then(frappe => {
|
||||
frappe.call("frappe.tests.ui_test_helpers.setup_workflow");
|
||||
return cy.window().its('frappe').then(frappe => {
|
||||
return frappe.xcall("frappe.tests.ui_test_helpers.setup_workflow");
|
||||
});
|
||||
cy.server();
|
||||
cy.route({
|
||||
method: 'POST',
|
||||
url: 'frappe.sessions.clear'
|
||||
}).as('clear-cache');
|
||||
cy.clear_cache();
|
||||
cy.wait(['@clear-cache']);
|
||||
});
|
||||
it('enables "Actions" button', () => {
|
||||
const actions = ['Approve', 'Reject', 'Edit', 'Assign To', 'Apply Assignment Rule', 'Print', 'Delete'];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue