This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Andrey Palamarchuk
Andrey Palamarchuk

Hey. I can write selenium test using UiTestCase implementation. In that kind of tests I'm going into admin template/plugin/model/create and create model of needed type. Then I try to check that model does exist in database.

Tell me please the right way to do that, considering the following restrictions:

1) I don't have direct access to App within my selenium tests;

2) I don't have direct access to database models/facades because of non-resolved App from (1);

3) I can't check that model exists in the list within plugin/model/list window because of other (old rows from previous tests) rows exist there.

Do I need to use stub template for displaying model data on the page (specific for tests), or what?

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.