This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "meta": { | |
| "lastTouchedVersion": "2026.1.30", | |
| "lastTouchedAt": "2026-02-01T16:48:36.938Z" | |
| }, | |
| "wizard": { | |
| "lastRunAt": "2026-02-01T16:48:36.935Z", | |
| "lastRunVersion": "2026.1.30", | |
| "lastRunCommand": "onboard", | |
| "lastRunMode": "local" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| /** | |
| * Automatically sets up .github/chatmodes/agents.md in the current directory | |
| * This script runs when executing: npx @your-username/copilot-setup | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json.schemastore.org/launchsettings.json", | |
| "iisSettings": { | |
| "windowsAuthentication": false, | |
| "anonymousAuthentication": true, | |
| "iisExpress": { | |
| "applicationUrl": "http://localhost:63256", | |
| "sslPort": 44330 | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Fact] | |
| public void TestRegisterUserWithType() | |
| { | |
| var driver = webDriverFixture.ChromeDriver; | |
| testOutputHelper.WriteLine("First test"); | |
| driver | |
| .Navigate() | |
| .GoToUrl("http://eaapp.somee.com"); | |
| var fixture = new Fixture(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Fact] | |
| public void TestRegisterUser() | |
| { | |
| var driver = webDriverFixture.ChromeDriver; | |
| testOutputHelper.WriteLine("First test"); | |
| driver | |
| .Navigate() | |
| .GoToUrl("http://eaapp.somee.com"); | |
| var userName = new Fixture().Create<string>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Theory] | |
| [MemberData(nameof(Data))] | |
| public void TestRegisterUser(string username, string password, string cpassword, string email) | |
| { | |
| var driver = webDriverFixture.ChromeDriver; | |
| testOutputHelper.WriteLine("First test"); | |
| driver | |
| .Navigate() | |
| .GoToUrl("http://eaapp.somee.com"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static IEnumerable<object[]> Data => new List<object[]> | |
| { | |
| new object[] | |
| { | |
| "Karthik", | |
| "kartPassword", | |
| "kartPassword", | |
| "karthik@gmail.com" | |
| }, | |
| new object[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Theory] | |
| [InlineData("admin", "password")] | |
| [InlineData("admin", "password2")] | |
| [InlineData("admin", "password3")] | |
| [InlineData("admin", "password4")] | |
| public void TestLoginWithFillData(string username, string password) | |
| { | |
| var driver = webDriverFixture.ChromeDriver; | |
| testOutputHelper.WriteLine("First test"); | |
| driver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DataRepository : IDataRepository | |
| { | |
| private readonly EmployeeDbContext db; | |
| public DataRepository(EmployeeDbContext db) | |
| { | |
| this.db = db; | |
| } | |
| public List<Employee> GetEmployees() => db.Employee.ToList(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| namespace MiniDemo.Model | |
| { | |
| public interface IDataRepository | |
| { | |
| List<Employee> AddEmployee(Employee employee); | |
| List<Employee> GetEmployees(); | |
| Employee PutEmployee(Employee employee); | |
| Employee GetEmployeeById(string id); |
NewerOlder