Now you are mixing quadrature weights and the absolute value of the determinant of the Jacobian of the mapping from the physical element to the reference element.
That determinant can be found as shown here: Spatial coordinate local values - #4 by dokken