misc
This commit is contained in:
@@ -23,8 +23,8 @@ describe('Framework script', function () {
|
||||
it('ExACT; should log in to ExACT.', async function () {
|
||||
var EC = protractor.ExpectedConditions;
|
||||
var LoginButton = element(by.css('.btn'));
|
||||
var EdGateLogo = element(by.css('p > img'));
|
||||
var CopyrightText = element(by.css('#footer-branding > p:nth-child(2)'));
|
||||
var EdGateLogo = element(by.css('.logo'));
|
||||
var CopyrightText = element(by.css('.logincopyright > p'));
|
||||
|
||||
browser.wait(EC.visibilityOf(EdGateLogo), 30000).then(function() {
|
||||
browser.sleep(1500);
|
||||
@@ -53,13 +53,13 @@ describe('Framework script', function () {
|
||||
|
||||
//Dashboard
|
||||
Dashboard();
|
||||
CorrelationCoverage();
|
||||
//CorrelationCoverage();
|
||||
FrameworksManagementPage();
|
||||
CreateOrganizationFramework();
|
||||
//CreateOrganizationFramework();
|
||||
ViewFrameworksStandards();
|
||||
AlgebraOne11139c2HChildStandard();
|
||||
EditFramework();
|
||||
UpdatedFrameworksManagementPage();
|
||||
/*UpdatedFrameworksManagementPage();
|
||||
EditFrameworkBackToDefault();
|
||||
ResetFrameworksManagementPage();
|
||||
DeleteCreatedFramework();
|
||||
@@ -1420,6 +1420,7 @@ function AlgebraOne11139c2HChildStandard() {
|
||||
var ConceptsTabListArrowIconFour = element(by.css('.list-group-item:nth-child(4) > .fa'));
|
||||
var ConceptsTabListAddButtonFive = element(by.css('.btn-success'));
|
||||
var ConceptsTabListLabelFive = element(by.css('.list-group-item:nth-child(5) > div:nth-child(3)'));
|
||||
var ConceptsTabListButtonFive = element(by.css('.list-group-item:nth-child(5) > .badge'));
|
||||
var ConceptsTabListLabelFiveAlt = element(by.css('.list-group-item:nth-child(5)'));
|
||||
var ConceptsTabListArrowIconFive = element(by.css('.list-group-item:nth-child(5) > .fa'));
|
||||
//AutoAlign tab
|
||||
@@ -1520,7 +1521,7 @@ function AlgebraOne11139c2HChildStandard() {
|
||||
expect(await TaggedConceptsDataFive.getText()).toEqual('Mathematics | Measurement | General');
|
||||
expect(await TaggedConceptsDataSix.getText()).toEqual('Mathematics | Statistics Probability | General');
|
||||
expect(await TaggedConceptsDataSeven.getText()).toEqual('Mathematics | Algebra | Systems of Equations | General/Creating');
|
||||
expect(await TaggedConceptsDataEight.getText()).toEqual('Mathematics | Algebra | Equations/Inequalities & Functions | Writing/Linear - Note: for writing equations from word problems');
|
||||
expect(await TaggedConceptsDataEight.getText()).toEqual('Mathematics | Algebra | Equations/Inequalities & Functions | Writing/Linear - Note: for writing equations from word problems');
|
||||
expect(await TaggedConceptsDataNine.getText()).toEqual('Mathematics | General');
|
||||
//View Item Info DIV - Button
|
||||
expect(ViewDIVCloseButton.getCssValue('background-color')).toBe('rgba(108, 117, 125, 1)'); //charcoal
|
||||
@@ -1632,7 +1633,7 @@ function AlgebraOne11139c2HChildStandard() {
|
||||
expect(ConceptsTabRemoveXCloseIconSeven.isPresent()).toBe(true);
|
||||
expect(ConceptsTabRemoveButtonSeven.getCssValue('background-color')).toBe('rgba(220, 53, 69, 1)'); //red
|
||||
expect(await ConceptsTabRemoveButtonSeven.getText()).toEqual('Remove');
|
||||
expect(await ConceptsTabTaggedConceptsDataEight.getText()).toContain('Mathematics | Algebra | Equations/Inequalities & Functions | Writing/Linear - Note: for writing equations from word problems');
|
||||
expect(await ConceptsTabTaggedConceptsDataEight.getText()).toContain('Mathematics | Algebra | Equations/Inequalities & Functions | Writing/Linear - Note: for writing equations from word problems Remove');
|
||||
expect(ConceptsTabRemoveXCloseIconEight.isPresent()).toBe(true);
|
||||
expect(ConceptsTabRemoveButtonEight.getCssValue('background-color')).toBe('rgba(220, 53, 69, 1)'); //red
|
||||
expect(await ConceptsTabRemoveButtonEight.getText()).toEqual('Remove');
|
||||
@@ -1654,22 +1655,26 @@ function AlgebraOne11139c2HChildStandard() {
|
||||
expect(await ConceptsTabFilterConceptsDropdown.getAttribute('placeholder')).toEqual('Enter Term...');
|
||||
expect(ConceptsTabFilterButton.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await ConceptsTabFilterButton.getText()).toEqual('Filter');
|
||||
expect(await ConceptsTabListLabelOne.getText()).toEqual('Language Arts');
|
||||
expect(await ConceptsTabListLabelOne.getText()).toEqual('Arts Education');
|
||||
expect(ConceptsTabListButtonOne.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await ConceptsTabListButtonOne.getText()).toEqual('1359');
|
||||
expect(await ConceptsTabListButtonOne.getText()).toEqual('1196');
|
||||
expect(ConceptsTabListArrowIconOne.isDisplayed()).toBe(true);
|
||||
expect(await ConceptsTabListLabelTwo.getText()).toEqual('Mathematics');
|
||||
expect(await ConceptsTabListLabelTwo.getText()).toEqual('Career Technical Education');
|
||||
expect(ConceptsTabListButtonTwo.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await ConceptsTabListButtonTwo.getText()).toEqual('1219');
|
||||
expect(await ConceptsTabListButtonTwo.getText()).toEqual('2440');
|
||||
expect(ConceptsTabListArrowIconTwo.isDisplayed()).toBe(true);
|
||||
expect(await ConceptsTabListLabelThree.getText()).toEqual('Science');
|
||||
expect(await ConceptsTabListLabelThree.getText()).toEqual('English Language Learners');
|
||||
expect(ConceptsTabListButtonThree.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await ConceptsTabListButtonThree.getText()).toEqual('2108');
|
||||
expect(await ConceptsTabListButtonThree.getText()).toEqual('869');
|
||||
expect(ConceptsTabListArrowIconThree.isDisplayed()).toBe(true);
|
||||
expect(await ConceptsTabListLabelFour.getText()).toEqual('Social Studies');
|
||||
expect(await ConceptsTabListLabelFour.getText()).toEqual('Health and PE');
|
||||
expect(ConceptsTabListButtonFour.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await ConceptsTabListButtonFour.getText()).toEqual('2188');
|
||||
expect(await ConceptsTabListButtonFour.getText()).toEqual('814');
|
||||
expect(ConceptsTabListArrowIconFour.isDisplayed()).toBe(true);
|
||||
expect(await ConceptsTabListLabelFive.getText()).toEqual('Language Arts');
|
||||
expect(ConceptsTabListButtonFive.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await ConceptsTabListButtonFive.getText()).toEqual('1359');
|
||||
expect(ConceptsTabListArrowIconFive.isDisplayed()).toBe(true);
|
||||
//Edit Framework Item DIV - Buttons
|
||||
expect(EditFrameworkItemDIVSaveButton.getCssValue('background-color')).toBe('rgba(1, 160, 78, 1)'); //green
|
||||
expect(await EditFrameworkItemDIVSaveButton.getText()).toEqual('Save');
|
||||
|
||||
Reference in New Issue
Block a user