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

Bypass #245

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Bypass #245

wants to merge 7 commits into from

Conversation

jefleponot
Copy link

Bypass commands that skiped step if condition is done
and other features

@davidlinse
Copy link

Would you mind adding english translations as well ?
~david

@jefleponot
Copy link
Author

Hi dav,

I don't understand because english is the default language so ...
Have you an example of mis translation ?

@Zarkonnen
Copy link

I'm sorry, can you explain what the bypassX steps do? How do they differ from assert/verify/wait? Are they a kind of flow control?

@jefleponot
Copy link
Author

Hello Zarkonnen,

Let me explain what "bypass comands" do :

Sometimes when you open a webpage, you don't have full page you are waiting for but :

  • an advertising
  • a cleaning request from the previous session
  • a maintenance page
  • a minimal portal
    So, when you try to run the test, there is often a problem.

The byPass commands can help you. If there is a ramdom possible action (possible step) you can run it or jump to an other step if not necessary.

Bypasses a given number of defined navigation steps

@Zarkonnen
Copy link

Ah, so they're actions that don't stop test playback when they fail?

@jefleponot
Copy link
Author

In Fact, we have block of actions (steps) that according to the response of the website occurs differents ways of execution for a scenario (script).

So scenario is more flexible and works in 95%.

@zcsteele
Copy link

The bypass operations work as advertised, but the skipped steps are flagged as 'failed' when the bypass logic skips them. This causes the test as a whole to be flagged as failing even when all the other steps pass.

I've added a couple of commits to my fork of the bypass branch which add a new "Skipped" status:
https://github.com/zcsteele/se-builder/tree/bypass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants