Skip to content

Commit afd4b97

Browse files
Cleaned up test class
1 parent 6abc8b8 commit afd4b97

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Applitools.Example.Tests/AcmeBankTest.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
using Applitools;
21
using Applitools.Selenium;
32
using Applitools.VisualGrid;
43
using NUnit.Framework;
54
using OpenQA.Selenium;
65
using OpenQA.Selenium.Chrome;
76
using System.Drawing;
8-
using System.Runtime;
97
using ScreenOrientation = Applitools.VisualGrid.ScreenOrientation;
108

119
namespace Applitools.Example.Tests;
@@ -141,8 +139,8 @@ public void LogIntoBankAccount()
141139
/// Concludes the test by quitting the browser and closing Eyes.
142140
/// <summary>
143141
[TearDown]
144-
public void CleanUpTest() {
145-
142+
public void CleanUpTest()
143+
{
146144
// Quit the WebDriver instance.
147145
Driver.Quit();
148146

@@ -161,8 +159,8 @@ public void CleanUpTest() {
161159
/// Prints the final summary report for the test suite.
162160
/// <summary>
163161
[OneTimeTearDown]
164-
public static void PrintResults() {
165-
162+
public static void PrintResults()
163+
{
166164
// Close the batch and report visual differences to the console.
167165
// Note that it forces NUnit to wait synchronously for all visual checkpoints to complete.
168166
TestResultsSummary allTestResults = Runner.GetAllTestResults();

0 commit comments

Comments
 (0)