Specify Node version for AppVeyor builds. Indicate whether browser automation tests are running.
This commit is contained in:
parent
9f88d16cc4
commit
4a4dcbab3d
|
|
@ -1,5 +1,7 @@
|
||||||
init:
|
init:
|
||||||
- git config --global core.autocrlf true
|
- git config --global core.autocrlf true
|
||||||
|
install:
|
||||||
|
- ps: Install-Product node 6.9.2 x64
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using OpenQA.Selenium;
|
using OpenQA.Selenium;
|
||||||
|
using System;
|
||||||
using Templates.Test.Helpers;
|
using Templates.Test.Helpers;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
|
|
@ -27,6 +28,8 @@ namespace Templates.Test
|
||||||
|
|
||||||
if (EnableBrowserAutomationTesting)
|
if (EnableBrowserAutomationTesting)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("Starting browser automation tests...");
|
||||||
|
|
||||||
using (var browser = aspNetProcess.VisitInBrowser())
|
using (var browser = aspNetProcess.VisitInBrowser())
|
||||||
{
|
{
|
||||||
TestBasicNavigation(browser);
|
TestBasicNavigation(browser);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue