small refactoring

This commit is contained in:
Seraphym-Tuhai 2023-04-19 12:58:39 +03:00
parent 71ce5e762a
commit 1347ef7dcd
14 changed files with 31 additions and 17 deletions

View File

@ -1,4 +1,19 @@
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
/**
* Copyright © 2016-2023 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Epic;
import org.testng.annotations.AfterMethod;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;
@ -93,7 +93,6 @@ public class CreateRuleChainImportTest extends AbstractRuleChainTest {
ruleChainsPage.importBrowseFileBtn().click();
WebElement doneBtn = openRuleChainPage.doneBtn();
doneBtn.click();
openRuleChainPage.doneBtn().click();
sideBarMenuView.ruleChainsBtn().click();
assertThat(ruleChainsPage.entities(ruleChainName).size() > 1).

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Epic;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;
@ -119,4 +119,4 @@ public class RuleChainEditMenuTest extends AbstractRuleChainTest {
.as("Debug mode is enable").isTrue();
}
}
}
}

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Epic;
@ -110,4 +110,4 @@ public class SortByNameTest extends AbstractRuleChainTest {
assertThat(secondRuleChain).as("Second from the end rule chain with number in name").isEqualTo(ruleChainNumber);
assertThat(thirdRuleChain).as("Third rule from the end chain with number in name").isEqualTo(ruleChain);
}
}
}

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.thingsboard.server.msa.ui.tests.ruleChainsSmoke;
package org.thingsboard.server.msa.ui.tests.rulechainssmoke;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;

View File

@ -34,7 +34,7 @@
</run>
</groups>
<packages>
<package name="org.thingsboard.server.msa.ui.tests.ruleChainsSmoke"/>
<package name="org.thingsboard.server.msa.ui.tests.rulechainssmoke"/>
</packages>
</test>
<test name="Smoke customers tests">

View File

@ -29,7 +29,7 @@
</run>
</groups>
<packages>
<package name="org.thingsboard.server.msa.ui.tests.ruleChainsSmoke"/>
<package name="org.thingsboard.server.msa.ui.tests.rulechainssmoke"/>
</packages>
</test>
</suite>

View File

@ -29,7 +29,7 @@
</run>
</groups>
<packages>
<package name="org.thingsboard.server.msa.ui.tests.ruleChainsSmoke"/>
<package name="org.thingsboard.server.msa.ui.tests.rulechainssmoke"/>
</packages>
</test>
<test name="Smoke customers tests">