Skip to content

Commit

Permalink
chore: Merge remote-tracking branch 'origin/master' into prerelease/v4
Browse files Browse the repository at this point in the history
  • Loading branch information
anicholls committed May 5, 2020
2 parents c1d3fa5 + 94dbc1f commit 88a7b52
Show file tree
Hide file tree
Showing 60 changed files with 319 additions and 75 deletions.
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.


Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
70 changes: 70 additions & 0 deletions cypress/integration/Popup.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import * as h from '../helpers';

function getPopup() {
return cy.findByRole('dialog');
}

function getPopupTargetButton() {
return cy.contains('Delete Item');
}

function getCloseButton() {
return getPopup().find('[data-close]');
}

describe('Popup', () => {
before(() => {
h.stories.visit();
});
context(`given the open popup`, () => {
beforeEach(() => {
h.stories.load('Components|Popups/Popup/React', 'Open');
});
it('should not have any axe errors', () => {
cy.checkA11y();
});

it('should have a role of dialog', () => {
getPopup().should('have.attr', 'role', 'dialog');
});
});

context(`given the default popup`, () => {
beforeEach(() => {
h.stories.load('Components|Popups/Popup/React', 'Default');
});
context('when the target buttton is clicked', () => {
beforeEach(() => {
getPopupTargetButton().click();
});

it('should open the popup', () => {
getPopup().should('be.visible');
});

it('should not have any axe errors', () => {
cy.checkA11y();
});

context('popup', () => {
it('should have a role of dialog', () => {
getPopup().should('have.attr', 'role', 'dialog');
});

it('should have an aria-labelledby attribute when a heading is provided', () => {
getPopup().should('have.attr', 'aria-labelledby');
});
});

context('when the close button is clicked', () => {
beforeEach(() => {
getCloseButton().click();
});

it('should close the popup', () => {
getPopup().should('not.visible');
});
});
});
});
});
2 changes: 1 addition & 1 deletion modules/_canvas-kit-react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/color-picker/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/combobox/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/core/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/drawer/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/header/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/menu/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/pagination/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/_labs/select/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/action-bar/css/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/action-bar/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/avatar/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/banner/css/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/banner/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/button/css/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/button/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/card/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/checkbox/css/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/checkbox/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/color-picker/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/common/css/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
2 changes: 1 addition & 1 deletion modules/common/react/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off

END OF TERMS AND CONDITIONS

©2019. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Expand Down
Loading

0 comments on commit 88a7b52

Please sign in to comment.