Skip to content

Commit

Permalink
make toolbar awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
RNR1 committed Jan 29, 2025
1 parent daf3b08 commit e703d31
Show file tree
Hide file tree
Showing 21 changed files with 478 additions and 516 deletions.
10 changes: 6 additions & 4 deletions cypress/e2e/desktop/crowdsourcing.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('crowdsourcing form', () => {
cy.visit('/');

// Load the contribution menu
cy.get('[data-cy=button-contribute-menu]').click();
cy.get('[data-cy=button-contribute-type-menu]').click();
});

it('should successfully submit a water site for testing', () => {
Expand Down Expand Up @@ -74,9 +74,11 @@ describe('crowdsourcing form', () => {
force: true
});
cy.get('input[id="address"]').type(
'City Hall Room 708, Philadelphia, PA 19107, USA', {
force: true
});
'City Hall Room 708, Philadelphia, PA 19107, USA',
{
force: true
}
);
cy.get('input[name="website"]').type('cypress.test');
cy.get('textarea[name="description"]').type(
'Cypress Test Food Description'
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/desktop/filters.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('filters', () => {
// Load the form

// Load the filter menu
cy.get('[data-cy=button-filter-menu]').click();
cy.get('[data-cy=button-filter-type-menu]').click();
});

it('should successfully show a result for each water site filter permutation', () => {
Expand All @@ -19,7 +19,7 @@ describe('filters', () => {
cy.get('[data-cy="filter-option-ADA accessible"]').click();
cy.get('[data-cy="filter-option-Open Access"]').click();
// Close the filter menu
cy.get('[data-cy=button-filter-menu]').click();
cy.get('[data-cy=button-filter-type-menu]').click();
});

it('should successfully show a result for each food site filter permutation', () => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/desktop/search.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('search', () => {
it('should successfully show a search result and center the map at the search location', () => {
// Use a query that should not move or cease to exist for a long time for consistent test results (ex- Philly City Hall)
// Load the search bar
cy.get('[data-cy=button-search]').click();
cy.get('[data-cy=button-search-type-menu]').click();

cy.get('input[placeholder="Search for Resources near..."]').type(
'Logan Square, North 19th Street, Philadelphia, PA, USA'
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!--Fonts-->
<link
href="https://fonts.googleapis.com/css2?family=Exo:wght@700&family=Inter:wght@500;600;700&family=Roboto:wght@400;500;600;700&display=swap"
href="https://fonts.googleapis.com/css2?family=Exo:wght@600;700&family=Inter:wght@500;600;700&family=Roboto:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>

Expand Down
6 changes: 6 additions & 0 deletions src/assets/icons/ForagingIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/assets/icons/ForagingIconNearMeIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e703d31

Please sign in to comment.