{"size": 760, "ext": "js", "max_stars_repo_path": "TestCafeTestingP/9editProfile1.test.js", "max_stars_repo_name": "PrageethThilina/Web-Based-Library-Management-System", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "TestCafeTestingP/9editProfile1.test.js", "max_issues_repo_name": "PrageethThilina/Web-Based-Library-Management-System", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "TestCafeTestingP/9editProfile1.test.js", "max_forks_repo_name": "PrageethThilina/Web-Based-Library-Management-System", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.4, "max_line_length": 73, "alphanum_fraction": 0.5881578947}
//testcafe chrome ./TestCafeTestingP/editProfile1.test.js

import { Selector } from 'testcafe';

fixture`My fixture`
    .page`http://localhost:3000/auth/admin-login`;

const admin_email = Selector('#admin-edit-email');

test('Update Admin Profile by updating email Testing', async t => {
        await t
    
            .setTestSpeed(0.1)
            .typeText('#username', 'prageeth')
            .typeText('#password', '111111')
            .click('#btn_submit')
            .click("#admin-drop-down")
            .click("#profile-down")
            .click("#edit-profile")
            .selectText(admin_email).pressKey("delete")
            .typeText('#admin-edit-email', 'prageeththilina77@gmail.com')
            .click('#update-profile-btn');
    
});
