Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Workflow ui test dependency #4421

Merged
merged 2 commits into from Nov 3, 2017

Conversation

Zlash65
Copy link
Contributor

@Zlash65 Zlash65 commented Nov 3, 2017

Summary:-
Selecting role in ui test removed - since 'Role profile' concept was introduced

@@ -32,18 +32,18 @@ QUnit.test("Test Workflow", function(assert) {
},
() => frappe.timeout(1),
() => {
$('.user-role input:eq(5)').click();
cur_frm.set_value('last_name', 'Test');
cur_frm.save();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cur_frm.save() returns a promise, so you can use it instead of timeout

@netchampfaris netchampfaris merged commit d29e280 into frappe:develop Nov 3, 2017
@Zlash65 Zlash65 deleted the workflow-test-fix branch November 27, 2017 05:18
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants