Skip to content

Commit d81aac4

Browse files
Removed local variable
1 parent 0f35aed commit d81aac4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Applitools.Example.Tests/AcmeBankTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public void OpenBrowserAndEyes()
101101

102102
// Open Eyes to start visual testing.
103103
// It is a recommended practice to set all four inputs:
104-
string testName = NUnit.Framework.TestContext.CurrentContext.Test.Name;
105104
Eyes.Open(
106105

107106
// WebDriver object to "watch".
@@ -115,7 +114,7 @@ public void OpenBrowserAndEyes()
115114
// The name of the test case for the given application.
116115
// Additional unique characteristics of the test may also be specified as part of the test name,
117116
// such as localization information ("Home Page - EN") or different user permissions ("Login by admin").
118-
testName,
117+
NUnit.Framework.TestContext.CurrentContext.Test.Name,
119118

120119
// The viewport size for the local browser.
121120
// Eyes will resize the web browser to match the requested viewport size.

0 commit comments

Comments
 (0)