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

Business Flow stage related binding statements does not work #110

Open
xuhansynsci opened this issue Feb 11, 2022 · 0 comments
Open

Business Flow stage related binding statements does not work #110

xuhansynsci opened this issue Feb 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@xuhansynsci
Copy link

xuhansynsci commented Feb 11, 2022

Describe the bug

  1. When select a business flow stage using "I select the 'xx' stage of the business process flow', it does not actually open the dialogue window on the screen during auto-testing.
  2. Although "I click next stage on the the 'xx' stage of the business process flow" passes the test, it actually did not go to the next stage when manually checking on the record that having the flow afterwards.
  3. When using " I pin the 'xx' stage of the business process flow" after "I select the 'xx' stage of the business process flow" statement, errors out as "error: Pin button for stage xx not found." - this may be due to the No.1 bug with the select stage statement since the dialogue is not opened and not visible for displaying the pin button.
  4. When using assertion statement such as "Then I can see a value of 'false' in the 'xx' boolean field on the business process " errors out as no source found. - this may be due to the same bug No.1 that no dialogue is opened so not visible for displaying the field values.
  5. When using editing fields statements such as "I enter 'true' into the 'xx' boolean field on the business process flow" errors out as no source found. - may be due to the similar reasons as No.4 and No.3.

To reproduce

after logging in the powerapp, on any of the grid record that has a business flow with a stage containing one field value.

  1. open a record in the grid : "I open the record at position '0' in the grid"
  2. select the business flow stage : "And I select the 'xx' stage of the business process flow" (should see the stage is clicked and the stage dialogue should be opened, see pic 2)
  3. "I pin the 'xx' stage of the business process flow" (should open the side window)
  4. use any assertion statement that matches the field value in the flow stage. such as "Then I can see a value of 'false' in the 'xx' boolean field on the business process " (should see the stage dialogue is opened and the field with values are displaying in the dialogue, see pic 2)
  5. use any editing field values statement that matches the field values in the flow stage, such as "I can see a value of 'false' in the 'xx' boolean field on the business process" (should see the stage dialogue is opened and the field with values are displaying in the dialogue, and the values is being edited when the statement is being executed)

Expected behaviour

See "To reproduce" section No.2-5

Screenshots

the auto-tester only display the pic 1 during the statement of "I select the 'xx' stage of the business process flow', and "I click next stage on the the 'xx' stage of the business process flow"
image
although it should display the opened dialogue window as pic 2, where displaying the pin button and the field with values, that allowing the other statements to be executed. (this screenshot is achieved by manually click on the stage and not successfully achieved by the auto-tester)
image

Environment (please complete the following information):

  • Test framework [MSTest]
  • Browser [chrome]
  • Version [not sure]
  • Power Apps environment version: [Server version: 9.2.21123.00176]

Additional context

@xuhansynsci xuhansynsci added the bug Something isn't working label Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant