Showing 3,213 of 3,213 total issues
Tab detected. Open
login = driver.find_element(:name, 'login')
- Exclude checks
Tab detected. Open
option.send_keys "1º Médio"
- Exclude checks
Tab detected. Open
driver.get('http://localhost:3000/principal/2')
- Exclude checks
Tab detected. Open
login = driver.find_element(:name, 'login')
- Exclude checks
Tab detected. Open
alumn_name = driver.find_element(:name, 'alumn[name]')
- Exclude checks
Tab detected. Open
alumn_address.send_keys "Magnífica Mansão no Pedregal"
- Exclude checks
Tab detected. Open
cpfUser.send_keys "46804811372"
- Exclude checks
Tab detected. Open
birthDate.send_keys "01011800"
- Exclude checks
Tab detected. Open
addressUser = driver.find_element(:name, 'teacher[address]')
- Exclude checks
Tab detected. Open
suspension_quantityDays = driver.find_element(:name, 'suspension[quantity_days]')
- Exclude checks
Tab detected. Open
suspension_quantityDays.clear()
- Exclude checks
Tab detected. Open
subject_name.clear()
- Exclude checks
Tab detected. Open
subject_name = driver.find_element(:name, 'classroom[name_classroom]')
- Exclude checks
Tab detected. Open
salvar = driver.find_element(:name, 'button')
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression. Open
if ( is_principal? )
- Read upRead up
- Exclude checks
Use a guard clause instead of wrapping the code inside a conditional expression
Example:
# bad
def test
if something
work
end
end
# good
def test
return unless something
work
end
# also good
def test
work if something
end
# bad
if something
raise 'exception'
else
ok
end
# good
raise 'exception' if something
ok
Extra blank line detected. Open
And (/^I fill in field alumn "Data de Nascimento" with "09071995"$/) do
- Read upRead up
- Exclude checks
This cops checks for two or more consecutive blank lines.
Example:
# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method
# good
some_method
# one empty line
some_method
Use 2 (not 1) spaces for indentation. Open
alumn_registry = driver.find_element(:name, 'alumn[registry]')
- Read upRead up
- Exclude checks
This cops checks for indentation that doesn't use the specified number of spaces.
See also the IndentationConsistency cop which is the companion to this one.
Example:
# bad
class A
def test
puts 'hello'
end
end
# good
class A
def test
puts 'hello'
end
end
Example: IgnoredPatterns: ['^\s*module']
# bad
module A
class B
def test
puts 'hello'
end
end
end
# good
module A
class B
def test
puts 'hello'
end
end
end
Use 2 (not 1) spaces for indentation. Open
parent_address = driver.find_element(:name, 'parent[address]')
- Read upRead up
- Exclude checks
This cops checks for indentation that doesn't use the specified number of spaces.
See also the IndentationConsistency cop which is the companion to this one.
Example:
# bad
class A
def test
puts 'hello'
end
end
# good
class A
def test
puts 'hello'
end
end
Example: IgnoredPatterns: ['^\s*module']
# bad
module A
class B
def test
puts 'hello'
end
end
end
# good
module A
class B
def test
puts 'hello'
end
end
end
Use 2 (not 1) spaces for indentation. Open
driver.get('http://localhost:3000/users')
- Read upRead up
- Exclude checks
This cops checks for indentation that doesn't use the specified number of spaces.
See also the IndentationConsistency cop which is the companion to this one.
Example:
# bad
class A
def test
puts 'hello'
end
end
# good
class A
def test
puts 'hello'
end
end
Example: IgnoredPatterns: ['^\s*module']
# bad
module A
class B
def test
puts 'hello'
end
end
end
# good
module A
class B
def test
puts 'hello'
end
end
end
Use 2 (not 1) spaces for indentation. Open
driver.get('http://localhost:3000/principal/2')
- Read upRead up
- Exclude checks
This cops checks for indentation that doesn't use the specified number of spaces.
See also the IndentationConsistency cop which is the companion to this one.
Example:
# bad
class A
def test
puts 'hello'
end
end
# good
class A
def test
puts 'hello'
end
end
Example: IgnoredPatterns: ['^\s*module']
# bad
module A
class B
def test
puts 'hello'
end
end
end
# good
module A
class B
def test
puts 'hello'
end
end
end