Skip to content

Merge pull request #84 from ERNI-Academy/feature/mongodb #192

Merge pull request #84 from ERNI-Academy/feature/mongodb

Merge pull request #84 from ERNI-Academy/feature/mongodb #192

GitHub Actions / Report - WEB (Edge - windows-2022) failed May 23, 2024 in 0s

5 passed, 1 failed and 0 skipped

Tests failed

❌ ./results/results.trx

6 tests were completed in 199s with 5 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature 1❌ 104s
TestWare.Samples.Selenium.Web.Features.SwagLabs.Login_MultibrowserFeature 2✅ 31s
TestWare.Samples.Selenium.Web.Features.SwagLabs.LoginFeature 3✅ 60s

❌ TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature

❌ ChatBetweenTwoUsers
	Test method TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature.ChatBetweenTwoUsers threw exception: 
	OpenQA.Selenium.WebDriverTimeoutException: Timed out after 15 seconds ---> OpenQA.Selenium.NoSuchElementException: Could not find element by: By.XPath: //*[@id='navbarToggler']/a

✅ TestWare.Samples.Selenium.Web.Features.SwagLabs.Login_MultibrowserFeature

✅ LoginOnMultipleBrowsers
✅ LoginOnMultipleBrowsersAndLogoutBrowser2

✅ TestWare.Samples.Selenium.Web.Features.SwagLabs.LoginFeature

✅ Login_Problem
✅ Login_Standard
✅ Logout

Annotations

Check failure on line 0 in ./results/results.trx

See this annotation in the file changed.

@github-actions github-actions / Report - WEB (Edge - windows-2022)

TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature ► ChatBetweenTwoUsers

Failed test found in:
  ./results/results.trx
Error:
  Test method TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature.ChatBetweenTwoUsers threw exception: 
  OpenQA.Selenium.WebDriverTimeoutException: Timed out after 15 seconds ---> OpenQA.Selenium.NoSuchElementException: Could not find element by: By.XPath: //*[@id='navbarToggler']/a
Raw output
Test method TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature.ChatBetweenTwoUsers threw exception: 
OpenQA.Selenium.WebDriverTimeoutException: Timed out after 15 seconds ---> OpenQA.Selenium.NoSuchElementException: Could not find element by: By.XPath: //*[@id='navbarToggler']/a
    at TestWare.Engines.Selenium.Extras.DefaultElementLocator.LocateElement(IEnumerable`1 bys) in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Extras/DefaultElementLocator.cs:line 55
   at TestWare.Engines.Selenium.Extras.WebElementProxy.get_WrappedElement() in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Extras/WebElementProxy.cs:line 34
   at TestWare.Engines.Selenium.Extras.WebElementProxy.get_Displayed() in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Extras/WebElementProxy.cs:line 52
   at TestWare.Engines.Selenium.Extras.ExpectedConditions.<>c__DisplayClass20_0.<ElementToBeClickable>b__0(IWebDriver driver) in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Extras/ExpectedConditions.cs:line 460
   at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition, CancellationToken token)
--- End of inner exception stack trace ---
    at OpenQA.Selenium.Support.UI.DefaultWait`1.ThrowTimeoutException(String exceptionMessage, Exception lastException)
   at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition, CancellationToken token)
   at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition)
   at TestWare.Engines.Selenium.Pages.PageBase.WaitUntilElementIsClickable(IWebElement element, Int32 timeToWait) in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Pages/PageBase.cs:line 100
   at TestWare.Engines.Selenium.Pages.PageBase.WaitUntilElementIsClickable(IWebElement element) in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Pages/PageBase.cs:line 96
   at TestWare.Engines.Selenium.Pages.PageBase.<>c__DisplayClass7_0.<ClickElement>b__0() in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Pages/PageBase.cs:line 25
   at Polly.Policy.<>c__DisplayClass108_0.<Execute>b__0(Context ctx, CancellationToken ct)
   at Polly.Policy.<>c__DisplayClass138_0.<Implementation>b__0(Context ctx, CancellationToken token)
   at Polly.Retry.RetryEngine.Implementation[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Action`4 onRetry, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider)
   at Polly.Retry.RetryPolicy.Implementation[TResult](Func`3 action, Context context, CancellationToken cancellationToken)
   at Polly.Policy.Implementation(Action`2 action, Context context, CancellationToken cancellationToken)
   at Polly.Policy.Execute(Action`2 action, Context context, CancellationToken cancellationToken)
   at TestWare.Core.Libraries.RetryPolicies.ExecuteActionWithRetries(Action action, Int32 numberOfRetries, TimeSpan retryAttemp) in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Core/TestWare.Core/Libraries/RetryPolicies.cs:line 24
   at TestWare.Engines.Selenium.Pages.PageBase.ClickElement(IWebElement element) in /home/runner/work/net6-automation-testware/net6-automation-testware/src/Engines/TestWare.Engines.Selenium/Pages/PageBase.cs:line 22
   at TestWare.Samples.Selenium.Web.POM.Stinto.HomePage.ClickCreateChat() in /home/runner/work/net6-automation-testware/net6-automation-testware/samples/TestWare.Samples.Selenium.Web/POM/Stinto/Home/HomePage.cs:line 18
   at TestWare.Samples.Selenium.Web.StepDefinitions.Stinto.ChatSteps.GivenTheCreatesANewChatSessionOn(String user, String browser) in /home/runner/work/net6-automation-testware/net6-automation-testware/samples/TestWare.Samples.Selenium.Web/StepDefinitions/Stinto/ChatSteps.cs:line 24
   at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
   at Allure.SpecFlowPlugin.AllureBindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments, TimeSpan& duration)
   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance)
   at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep()
   at TechTalk.SpecFlow.TestRunner.CollectScenarioErrors()
   at TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature.ScenarioCleanup()
   at TestWare.Samples.Selenium.Web.Features.Stinto.Chat_MultibrowserFeature.ChatBetweenTwoUsers() in /home/runner/work/net6-automation-testware/net6-automation-testware/samples/TestWare.Samples.Selenium.Web/Features/Stinto/Chat_multibrowser.feature:line 12