golemhq / golem

A complete test automation tool
http://golem-framework.readthedocs.io/
MIT License
489 stars 77 forks source link

toast msg should not close based on default timeout(15 Second) #205

Open Sunil-Rathore opened 3 years ago

Sunil-Rathore commented 3 years ago

when User run the suite through Run Suite button then toast msg should be behave like below.

  1. when user click on open(it should rename with Open Report) link on toast msg it will be better it should open new tab on same window.
  2. toast msg should not close based on default timeout. initially it should show with info status and after success or error status should show based on status of execution completion.

why it's required : User can know if suite running or not through toast msg on top if user select any other page or any action on GUI then toast msg should not close(it should remain while suite running).

Note: can go with another approach like when user click on suite run so after default timeout finished for toast msg it should auto redirect to execution report page.

luciano-renzi commented 3 years ago

rename with Open Report

sounds fair

it should open new tab

ok

toast msg should not close based on default timeout

I understand, if a suite is running it should be visible even if the user navigates between pages. This is not easy to do right now. I'll keep this open.

Sunil-Rathore commented 3 years ago

Hi Luciano,

I am planning to implement this feature. as of now I have implement like below

  1. once user click on run suite so it's redirect to new tab of report page and there it will show the toast msg based on status of running and once complete with success and fail it will show with success and fail status on toast.

I m thinking we should develop like when user click on run suite then toast msg should display in corner with running and based on result it should continue display success and failed status and toast should not close automatically after complete of execution of suite. based on user action it should close

Let me know if you agree with this or something other way you want me to develope.