You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the StepDefinitions.addSeriesToCollection() method, we open a main page, click on a link with a series, then we do something useful on a page with a series:
While it works, it makes test more fragile because test will fail if we modify a series to, let's say, "2 item(s)"). But the most important things here is performance -- opening the pages is a slow process and we shouldn't do it if we don't really need it.
Let's just open a page with a series (/series/1) -- it's simpler and faster.
In the
StepDefinitions.addSeriesToCollection()
method, we open a main page, click on a link with a series, then we do something useful on a page with a series:mystamps/src/test/java/ru/mystamps/web/tests/StepDefinitions.java
Lines 51 to 59 in f72c87d
While it works, it makes test more fragile because test will fail if we modify a series to, let's say, "2 item(s)"). But the most important things here is performance -- opening the pages is a slow process and we shouldn't do it if we don't really need it.
Let's just open a page with a series (
/series/1
) -- it's simpler and faster.Tech debt for f72c87d (#46)
The text was updated successfully, but these errors were encountered: