Example #1
0
        public TestContext(ITestConfiguration configuration, IOktaSdkHelper oktaHelper)
        {
            _oktaHelper    = oktaHelper;
            _configuration = configuration;

            TestUserProfile = new TestUserProfile();
        }
Example #2
0
        public TestContext(ITestConfiguration configuration, IA18nClient a18nClient, IOktaSdkHelper oktaHelper, WebDriverDriver webDriver)
        {
            _oktaHelper    = oktaHelper;
            _a18nClient    = a18nClient;
            _webDriver     = webDriver;
            _configuration = configuration;

            _a18nProfile = Task.Run(() => _a18nClient.GetProfileAsync()).Result;
        }