Beispiel #1
0
        public void CheckIfCustomDnsAddressIsSet()
        {
            TestCaseId = 4579;

            _loginWindow.LoginWithPlusUser();
            _mainWindow.ClickHamburgerMenu().HamburgerMenu.ClickSettings();
            _settingsWindow.ClickConnectionTab();
            _settingsWindow.EnableCustomDnsServers();
            _settingsWindow.EnterCustomIpv4Address("8.8.8.8");
            _settingsWindow.CloseSettings();
            _mainWindow.QuickConnect();
            _settingsResult.CheckIfDnsAddressMatches("8.8.8.8");
        }
Beispiel #2
0
        public void CheckCustomDnsManipulation()
        {
            TestCaseId = 4578;

            _loginWindow.LoginWithPlusUser();
            _mainWindow.ClickHamburgerMenu()
            .HamburgerMenu.ClickSettings();
            _settingsWindow.ClickConnectionTab();
            _settingsWindow.EnableCustomDnsServers();
            _settingsWindow.DisableNetshieldForCustomDns();
            _settingsWindow.CloseSettings();
            _mainWindowResults.CheckIfNetshieldIsDisabled();
            TestRailClient.MarkTestsByStatus();

            TestCaseId = 4579;

            _mainWindow.ClickHamburgerMenu()
            .HamburgerMenu.ClickSettings();
            _settingsWindow.EnterCustomIpv4Address("8.8.8.8");
            _settingsWindow.CloseSettings();
            _mainWindow.QuickConnect();
            _settingsResult.CheckIfDnsAddressMatches("8.8.8.8");
            TestRailClient.MarkTestsByStatus();

            TestCaseId = 4581;

            _mainWindow.ClickHamburgerMenu()
            .HamburgerMenu.ClickSettings();
            _settingsWindow.RemoveDnsAddress();
            _settingsWindow.PressReconnect();
            _mainWindow.WaitUntilConnected();
            _settingsResult.CheckIfDnsAddressDoesNotMatch("8.8.8.8");

            _mainWindow.DisconnectUsingSidebarButton();
            _mainWindowResults.CheckIfDisconnected();
        }