UPDATE Novembro/2023:
Atualmente existe uma solução com menos passos de configuração para o mesmo relatório:
| { | |
| // Editor | |
| "editor.parameterHints.enabled": false, | |
| "editor.renderLineHighlight": "gutter", | |
| "editor.tabSize": 2, | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 26, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontLigatures": true, | |
| "editor.suggestSelection": "first", | 
UPDATE Novembro/2023:
Atualmente existe uma solução com menos passos de configuração para o mesmo relatório:
| # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: Node.js CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | 
| export const format = (value) => { | |
| let formattedValue | |
| formattedValue = value.replace(',', '.') | |
| formattedValue = Number(formattedValue.split('$')[1].trim()) | |
| formattedValue = String(value).includes('-') ? -formattedValue : formattedValue | |
| return formattedValue | |
| } | 
| // Cypress version: 6.5.0 | |
| context('Diego', () => { | |
| beforeEach(() => { | |
| // rota para os endpoints que trazem cada post | |
| cy.intercept({ | |
| method: 'GET', | |
| path: '/_next/data/**' | |
| }).as('data') | 
| /// <reference types="cypress" /> | |
| context('Portal', () => { | |
| beforeEach(() => { | |
| /** | |
| Para autenticar no site são usados dois Cookies: | |
| - OAuth_Token_Request_State | |
| - JSESSIONID | |
| // Adicionar este código dentro de support/index.js | |
| // Importante: aplicável para projetos que usam o mochawesome como relatório | |
| // No cypress.json, setar as seguintes configs: | |
| // "screenshotsFolder": "mochawesome-report/assets", | |
| // "videosFolder": "mochawesome-report/videos" | |
| import './commands' | |
| import addContext from 'mochawesome/addContext' | 
| # This is a basic workflow to help you get started with Actions | |
| name: CI | |
| # Controls when the action will run. | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the main branch | |
| push: | |
| branches: [ main ] | |
| pull_request: | 
| { | |
| // Define o tema do VSCode | |
| "workbench.colorTheme": "Dracula", | |
| //Aumenta a fonte do terminal | |
| "terminal.integrated.fontSize": 22, | |
| // Define o tema dos ícones na sidebar | |
| "workbench.iconTheme": "material-icon-theme", | |
| "workbench.startupEditor": "newUntitledFile", |